22 <PropertyGroup >
33 <ManagePackageVersionsCentrally >true</ManagePackageVersionsCentrally >
44 <CentralPackageTransitivePinningEnabled >true</CentralPackageTransitivePinningEnabled >
5-
65 <!-- Please use caution adding a dependency to MSBuild packages. Use latest for testing and
76 use the minimum version for compilation for back compat. -->
8- <MicrosoftBuildPackageVersion >17.11.4 </MicrosoftBuildPackageVersion >
9- <MicrosoftBuildMinimumPackageVersion >16 .11.0</ MicrosoftBuildMinimumPackageVersion >
7+ <MicrosoftBuildPackageVersion >17.14.28 </MicrosoftBuildPackageVersion >
8+ <MicrosoftBuildPackageNet8 >17 .11.48</ MicrosoftBuildPackageNet8 >
109 </PropertyGroup >
11- <ItemGroup >
12- <PackageVersion Include =" CopyOnWrite" Version =" 0.5.0" Condition =" '$(TargetFramework)' != 'net46' " />
13- <PackageVersion Include =" Microsoft.Bcl.HashCode" Version =" 6.0.0" />
10+
11+ <ItemGroup Condition =" '$(TargetFramework)' == 'net8.0' Or '$(TargetFramework)' == 'netstandard2.0'" >
12+ <PackageVersion Include =" Microsoft.Build" Version =" $(MicrosoftBuildPackageNet8)" />
13+ <PackageVersion Include =" Microsoft.Build.Framework" Version =" $(MicrosoftBuildPackageNet8)" />
14+ <PackageVersion Include =" Microsoft.Build.Tasks.Core" Version =" $(MicrosoftBuildPackageNet8)" />
15+ <PackageVersion Include =" Microsoft.Build.Utilities.Core" Version =" $(MicrosoftBuildPackageNet8)" />
16+ <PackageVersion Include =" System.Text.Json" Version =" 8.0.5" />
17+ <PackageVersion Include =" Microsoft.Bcl.AsyncInterfaces" Version =" 8.0.0" />
18+ <PackageVersion Include =" System.Threading.Tasks.Dataflow" Version =" 8.0.0" />
19+ </ItemGroup >
20+
21+ <ItemGroup Condition =" '$(TargetFramework)' != 'net8.0' And '$(TargetFramework)' != 'netstandard2.0'" > <!-- And '$(TargetFramework)' != 'net472'">-->
1422 <PackageVersion Include =" Microsoft.Build" Version =" $(MicrosoftBuildPackageVersion)" />
1523 <PackageVersion Include =" Microsoft.Build.Framework" Version =" $(MicrosoftBuildPackageVersion)" />
16- <!--
17- Suppress advisory for Microsoft.Build.Tasks.Core as this repo only compiles against these assemblies,
18- and uses a lower version for compatability. The actual version used at runtime is the version of
19- MSBuild actually running.
20- -->
21- <NuGetAuditSuppress Include =" https://github.com/advisories/GHSA-h4j7-5rxr-p4wc" />
2224 <PackageVersion Include =" Microsoft.Build.Tasks.Core" Version =" $(MicrosoftBuildPackageVersion)" />
2325 <PackageVersion Include =" Microsoft.Build.Utilities.Core" Version =" $(MicrosoftBuildPackageVersion)" />
24- <PackageVersion Include =" Microsoft.Win32.Registry" Version =" 5.0.0" />
26+
27+ <PackageVersion Include =" System.Text.Json" Version =" 9.0.0" />
28+ <PackageVersion Include =" Microsoft.Bcl.AsyncInterfaces" Version =" 9.0.0" />
29+ <PackageVersion Include =" System.Threading.Tasks.Dataflow" Version =" 9.0.0" />
30+ </ItemGroup >
31+
32+ <ItemGroup >
33+ <PackageVersion Include =" CopyOnWrite" Version =" 0.5.0" />
34+ <PackageVersion Include =" Microsoft.Bcl.HashCode" Version =" 6.0.0" />
35+
36+
2537 <PackageVersion Include =" Newtonsoft.Json" Version =" 13.0.3" />
26- < PackageVersion Include = " System.CodeDom " Version = " 8.0.0 " />
27- < PackageVersion Include = " System.Collections.Immutable " Version = " 8.0.0 " />
38+
39+
2840 <PackageVersion Include =" System.Net.Http" Version =" 4.3.4" />
29-
30- <!-- Suppress high vuln Component Governance alert. >8.0.4 breaks downlevel VS installations. VS team working to fix. -->
31- <!-- https://github.com/microsoft/MSBuildSdks/issues/591 -->
32- <NuGetAuditSuppress Include =" https://github.com/advisories/GHSA-8g4q-xg66-9fp4" />
33- <PackageVersion Include =" System.Text.Json" Version =" 8.0.4" />
34-
35- <PackageVersion Include =" System.Threading.Tasks.Dataflow" Version =" 8.0.1" />
36-
37- <!-- Pinning vulnerable packages -->
41+ <PackageVersion Include =" System.CodeDom" Version =" 9.0.0" />
42+ <PackageVersion Include =" Microsoft.Win32.Registry" Version =" 5.0.0" />
43+ <PackageVersion Include =" System.Collections.Immutable" Version =" 9.0.0" />
44+ <!--
45+
46+
47+
48+
49+
50+ -->
51+ <!-- Pinning vulnerable packages
3852 <PackageVersion Include="System.Security.Cryptography.Xml" Version="8.0.1" />
3953 <PackageVersion Include="Microsoft.IO.Redist" Version="6.0.1" />
40- <PackageVersion Include =" System.Formats.Asn1" Version =" 8.0.1" />
54+ <PackageVersion Include="System.Formats.Asn1" Version="8.0.1" />-->
4155 </ItemGroup >
56+
4257 <ItemGroup Condition =" '$(IsTestProject)' == 'true'" >
43- <PackageVersion Include =" AssemblyShader" Version =" 1.0.3-preview " />
58+ <PackageVersion Include =" AssemblyShader" Version =" 1.1.3 " />
4459 <PackageVersion Include =" Microsoft.NET.Test.Sdk" Version =" 17.11.1" />
45- <PackageVersion Include =" MSBuild.ProjectCreation" Version =" 13.0 .0" />
60+ <PackageVersion Include =" MSBuild.ProjectCreation" Version =" 16.1 .0" />
4661 <PackageVersion Include =" Shouldly" Version =" 4.2.1" />
47- <PackageVersion Include =" xunit" Version =" 2.9.2 " />
48- <PackageVersion Include =" xunit.analyzers" Version =" 1.16 .0" />
49- <PackageVersion Include =" xunit.runner.visualstudio" Version =" 2.8.2 " />
62+ <PackageVersion Include =" xunit" Version =" 2.9.3 " />
63+ <PackageVersion Include =" xunit.analyzers" Version =" 1.25 .0" />
64+ <PackageVersion Include =" xunit.runner.visualstudio" Version =" 3.1.5 " />
5065 </ItemGroup >
5166 <ItemGroup >
52- <GlobalPackageReference Include =" Microsoft.Build.Artifacts" Version =" 6.1.48" Condition =" '$(EnableArtifacts)' != 'false'" />
5367 <GlobalPackageReference Include =" Microsoft.VisualStudioEng.MicroBuild.Core" Version =" 1.0.0" Condition =" '$(EnableMicroBuild)' != 'false'" />
54- <GlobalPackageReference Include =" Nerdbank.GitVersioning" Version =" 3.6.133 " Condition =" '$(EnableGitVersioning)' != 'false'" />
68+ <GlobalPackageReference Include =" Nerdbank.GitVersioning" Version =" 3.9.50 " Condition =" '$(EnableGitVersioning)' != 'false'" />
5569 </ItemGroup >
5670 <ItemGroup Condition =" '$(EnableStyleCop)' != 'false' " >
5771 <GlobalPackageReference Include =" StyleCop.Analyzers" Version =" 1.1.118" />
5872 <Compile Include =" $(MSBuildThisFileDirectory)src\GlobalSuppressions.cs" />
5973 <AdditionalFiles Include =" $(MSBuildThisFileDirectory)stylecop.json" />
6074 </ItemGroup >
61- </Project >
75+ </Project >
0 commit comments