Skip to content

Commit aa9c6cd

Browse files
Update analyzer deps / setup
1 parent ba94ad4 commit aa9c6cd

6 files changed

Lines changed: 123 additions & 220 deletions

File tree

MN.L10n.Analyzer/MN.L10n.Analyzer.Test/MN.L10n.Analyzer.Test.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<PrivateAssets>all</PrivateAssets>
1212
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1313
</PackageReference>
14-
<PackageReference Include="Microsoft.CodeAnalysis" Version="4.13.0" />
14+
<PackageReference Include="Microsoft.CodeAnalysis" Version="5.3.0" />
1515
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.13.0" />
1616
<PackageReference Include="xunit" Version="2.9.3" />
1717
<PackageReference Include="xunit.runner.visualstudio" Version="3.0.2">

MN.L10n.Analyzer/MN.L10n.Analyzer.Vsix/MN.L10n.Analyzer.Vsix.csproj

Lines changed: 0 additions & 72 deletions
This file was deleted.

MN.L10n.Analyzer/MN.L10n.Analyzer.Vsix/source.extension.vsixmanifest

Lines changed: 0 additions & 23 deletions
This file was deleted.

MN.L10n.Analyzer/MN.L10n.Analyzer/MN.L10n.Analyzer.csproj

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,13 @@
22

33
<PropertyGroup>
44
<TargetFramework>netstandard2.0</TargetFramework>
5-
<IncludeBuildOutput>false</IncludeBuildOutput>
65
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
76
<PublishSingleFile>true</PublishSingleFile>
87
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
8+
<Nullable>enable</Nullable>
9+
<LangVersion>latest</LangVersion>
10+
<IsRoslynComponent>true</IsRoslynComponent>
11+
<IncludeBuildOutput>false</IncludeBuildOutput>
912
</PropertyGroup>
1013

1114
<PropertyGroup>
@@ -21,32 +24,29 @@
2124
<Copyright></Copyright>
2225
<PackageTags>MN.L10n.Analyzer, analyzers</PackageTags>
2326
<NoPackageAnalysis>true</NoPackageAnalysis>
24-
<Version>4.0.2</Version>
27+
<Version>5.0.0-beta.1</Version>
2528
<Company>MultiNet Interactive AB</Company>
2629
</PropertyGroup>
27-
28-
<PropertyGroup>
29-
<PlatformTarget>x64</PlatformTarget>
30-
</PropertyGroup>
31-
3230
<ItemGroup>
33-
<PackageReference Include="Microsoft.CodeAnalysis" Version="4.13.0" />
34-
<PackageReference Update="NETStandard.Library" PrivateAssets="all" />
31+
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="5.3.0">
32+
<PrivateAssets>all</PrivateAssets>
33+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
34+
</PackageReference>
35+
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="5.3.0" PrivateAssets="all" />
3536
</ItemGroup>
3637

3738
<ItemGroup>
3839
<Compile Update="Resources.Designer.cs" DesignTime="True" AutoGen="True" DependentUpon="Resources.resx" />
3940
<EmbeddedResource Update="Resources.resx" Generator="ResXFileCodeGenerator" LastGenOutput="Resources.Designer.cs" />
4041
</ItemGroup>
4142

42-
<ItemGroup>
43-
<None Update="tools\*.ps1" CopyToOutputDirectory="Always" Pack="true" PackagePath="" />
44-
<None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
45-
</ItemGroup>
46-
4743
<ItemGroup>
4844
<AdditionalFiles Include="AnalyzerReleases.Shipped.md" />
4945
<AdditionalFiles Include="AnalyzerReleases.Unshipped.md" />
5046
</ItemGroup>
51-
47+
48+
<ItemGroup>
49+
<None Update="tools\*.ps1" CopyToOutputDirectory="Always" Pack="true" PackagePath="" />
50+
<None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
51+
</ItemGroup>
5252
</Project>

0 commit comments

Comments
 (0)