This commit is contained in:
Brad Wilson 2024-10-27 10:04:15 -07:00
Родитель d898aa3687
Коммит 2b076588a3
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 0B7BD15AD1EC5FDE
5 изменённых файлов: 25 добавлений и 25 удалений

Просмотреть файл

@ -28,10 +28,10 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.11.0-beta1.24219.2" />
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.11.0" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="[$(MicrosoftCodeAnalysisVersion)]" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="all" />
<PackageReference Include="Nerdbank.GitVersioning" Version="3.6.139">
<PackageReference Include="Nerdbank.GitVersioning" Version="3.6.146">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
@ -74,12 +74,12 @@
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.CodeFix.Testing" Version="1.1.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Include="NSubstitute" Version="5.1.0" />
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
<PackageReference Include="xunit.assert.source" Version="2.9.1-pre.8" />
<PackageReference Include="xunit.core" Version="2.9.1-pre.8" />
<PackageReference Include="xunit.runner.visualstudio" Version="3.0.0-pre.17" />
<PackageReference Include="xunit.assert.source" Version="2.9.2" />
<PackageReference Include="xunit.core" Version="2.9.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="3.0.0-pre.43" />
</ItemGroup>
</When>

Просмотреть файл

@ -23,12 +23,12 @@ public class CodeAnalysisNetAnalyzers : AnalyzerLoaderBase
// Make sure we load the dependencies first
var _ = assemblyNetAnalyzers.Value;
return LoadAssembly(Path.Combine(NuGetPackagesFolder, "microsoft.codeanalysis.netanalyzers", "9.0.0-preview.24216.2", "analyzers", "dotnet", "cs", "Microsoft.CodeAnalysis.CSharp.NetAnalyzers.dll"));
return LoadAssembly(Path.Combine(NuGetPackagesFolder, "microsoft.codeanalysis.netanalyzers", "9.0.0-preview.24454.1", "analyzers", "dotnet", "cs", "Microsoft.CodeAnalysis.CSharp.NetAnalyzers.dll"));
}
static Assembly LoadNetAnalyzers()
{
LoadAssembly(Path.Combine(NuGetPackagesFolder, "microsoft.codeanalysis.workspaces.common", "3.11.0", "lib", "netcoreapp3.1", "Microsoft.CodeAnalysis.Workspaces.dll"));
return LoadAssembly(Path.Combine(NuGetPackagesFolder, "microsoft.codeanalysis.netanalyzers", "9.0.0-preview.24216.2", "analyzers", "dotnet", "cs", "Microsoft.CodeAnalysis.NetAnalyzers.dll"));
return LoadAssembly(Path.Combine(NuGetPackagesFolder, "microsoft.codeanalysis.netanalyzers", "9.0.0-preview.24454.1", "analyzers", "dotnet", "cs", "Microsoft.CodeAnalysis.NetAnalyzers.dll"));
}
}

Просмотреть файл

@ -19,7 +19,7 @@ public class VsThreadingAnalyzers : AnalyzerLoaderBase
{
LoadAssembly(Path.Combine(NuGetPackagesFolder, "system.collections.immutable", "6.0.0", "lib", "net6.0", "System.Collections.Immutable.dll"));
LoadAssembly(Path.Combine(NuGetPackagesFolder, "microsoft.codeanalysis.workspaces.common", "3.11.0", "lib", "netcoreapp3.1", "Microsoft.CodeAnalysis.Workspaces.dll"));
return LoadAssembly(Path.Combine(NuGetPackagesFolder, "microsoft.visualstudio.threading.analyzers", "17.10.48", "analyzers", "cs", "Microsoft.VisualStudio.Threading.Analyzers.dll"));
return LoadAssembly(Path.Combine(NuGetPackagesFolder, "microsoft.visualstudio.threading.analyzers", "17.11.20", "analyzers", "cs", "Microsoft.VisualStudio.Threading.Analyzers.dll"));
}
}

Просмотреть файл

@ -39,8 +39,8 @@ static class CodeAnalyzerHelper
new PackageIdentity("System.Collections.Immutable", "1.6.0"),
new PackageIdentity("System.Threading.Tasks.Extensions", "4.5.4"),
new PackageIdentity("xunit.abstractions", "2.0.3"),
new PackageIdentity("xunit.assert", "2.9.1-pre.8"),
new PackageIdentity("xunit.core", "2.9.1-pre.8")
new PackageIdentity("xunit.assert", "2.9.2"),
new PackageIdentity("xunit.core", "2.9.2")
)
);
@ -51,7 +51,7 @@ static class CodeAnalyzerHelper
new PackageIdentity("System.Collections.Immutable", "1.6.0"),
new PackageIdentity("System.Threading.Tasks.Extensions", "4.5.4"),
new PackageIdentity("xunit.abstractions", "2.0.3"),
new PackageIdentity("xunit.runner.utility", "2.9.1-pre.8")
new PackageIdentity("xunit.runner.utility", "2.9.2")
)
);
@ -61,9 +61,9 @@ static class CodeAnalyzerHelper
new PackageIdentity("Microsoft.Extensions.Primitives", "8.0.0"),
new PackageIdentity("System.Threading.Tasks.Extensions", "4.5.4"),
new PackageIdentity("System.Text.Json", "8.0.0"),
new PackageIdentity("xunit.v3.assert", "0.2.0-pre.41"),
new PackageIdentity("xunit.v3.common", "0.2.0-pre.41"),
new PackageIdentity("xunit.v3.extensibility.core", "0.2.0-pre.41")
new PackageIdentity("xunit.v3.assert", "0.5.0-pre.28"),
new PackageIdentity("xunit.v3.common", "0.5.0-pre.28"),
new PackageIdentity("xunit.v3.extensibility.core", "0.5.0-pre.28")
)
);
@ -73,8 +73,8 @@ static class CodeAnalyzerHelper
new PackageIdentity("Microsoft.Extensions.Primitives", "8.0.0"),
new PackageIdentity("System.Threading.Tasks.Extensions", "4.5.4"),
new PackageIdentity("System.Text.Json", "8.0.0"),
new PackageIdentity("xunit.v3.common", "0.2.0-pre.41"),
new PackageIdentity("xunit.v3.runner.utility", "0.2.0-pre.41")
new PackageIdentity("xunit.v3.common", "0.5.0-pre.28"),
new PackageIdentity("xunit.v3.runner.utility", "0.5.0-pre.28")
)
);
}

Просмотреть файл

@ -12,19 +12,19 @@
<PackageDownload Include="System.Collections.Immutable" Version="[1.6.0]" Condition=" '$(TargetFramework)' == 'net472' " />
<PackageDownload Include="System.Text.Json" Version="[8.0.0]" />
<PackageDownload Include="System.Threading.Tasks.Extensions" Version="[4.5.4]" />
<PackageDownload Include="xunit.assert" Version="[2.9.1-pre.8]" />
<PackageDownload Include="xunit.runner.utility" Version="[2.9.1-pre.8]" />
<PackageDownload Include="xunit.v3.assert" Version="[0.2.0-pre.41]" />
<PackageDownload Include="xunit.v3.common" Version="[0.2.0-pre.41]" />
<PackageDownload Include="xunit.v3.extensibility.core" Version="[0.2.0-pre.41]" />
<PackageDownload Include="xunit.v3.runner.utility" Version="[0.2.0-pre.41]" />
<PackageDownload Include="xunit.assert" Version="[2.9.2]" />
<PackageDownload Include="xunit.runner.utility" Version="[2.9.2]" />
<PackageDownload Include="xunit.v3.assert" Version="[0.5.0-pre.28]" />
<PackageDownload Include="xunit.v3.common" Version="[0.5.0-pre.28]" />
<PackageDownload Include="xunit.v3.extensibility.core" Version="[0.5.0-pre.28]" />
<PackageDownload Include="xunit.v3.runner.utility" Version="[0.5.0-pre.28]" />
<!-- Download packages referenced by CodeAnalysisNetAnalyzers -->
<PackageDownload Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="[9.0.0-preview.24216.2]" />
<PackageDownload Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="[9.0.0-preview.24454.1]" />
<PackageDownload Include="Microsoft.CodeAnalysis.Workspaces.Common" Version="[3.11.0]" />
<!-- Download packages referenced by VsThreadingAnalyzers -->
<PackageDownload Include="Microsoft.VisualStudio.Threading.Analyzers" Version="[17.10.48]" />
<PackageDownload Include="Microsoft.VisualStudio.Threading.Analyzers" Version="[17.11.20]" />
<PackageDownload Include="System.Collections.Immutable" Version="[6.0.0]" Condition=" '$(TargetFramework)' == 'net8.0' " />
</ItemGroup>