File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 100100 <SystemMemoryVersion >4.5.4</SystemMemoryVersion >
101101 <SystemNumericsVectorsVersion >4.5.0</SystemNumericsVectorsVersion >
102102 <SystemReflectionMetadataVersion >6.0.0</SystemReflectionMetadataVersion >
103+ <SystemReflectionMetadataLoadContextVersion >4.7.1</SystemReflectionMetadataLoadContextVersion >
103104 <SystemReflectionEmitVersion >4.7.0</SystemReflectionEmitVersion >
104105 <SystemReflectionEmitILGenerationVersion >4.7.0</SystemReflectionEmitILGenerationVersion >
105106 <SystemReflectionEmitLightweightVersion >4.7.0</SystemReflectionEmitLightweightVersion >
Original file line number Diff line number Diff line change 2020
2121 <PackageReference Include =" Microsoft.Build" Version =" $(MicrosoftBuildVersion)" />
2222 <PackageReference Include =" Microsoft.Build.Tasks.Core" Version =" $(MicrosoftBuildTasksCoreVersion)" />
23- <PackageReference Include =" System.Reflection.MetadataLoadContext" Version =" 4.7.1" />
24- <PackageReference Include =" System.Text.Json" Version =" 6.0.0" PrivateAssets =" all" />
23+ <PackageReference Include =" System.Reflection.MetadataLoadContext" Version =" $(SystemReflectionMetadataLoadContextVersion)" />
24+
25+ <!-- When we requested a version that is newer than what comes with Visual Studio version of msbuild, it causes problems with
26+ running the task from inside VS. Therefore, we are using the moving version only for source-build. -->
27+ <PackageReference Include =" System.Text.Json" Condition =" '$(DotNetBuildFromSource)' != 'true'" Version =" 6.0.0" PrivateAssets =" all" />
28+ <PackageReference Include =" System.Text.Json" Condition =" '$(DotNetBuildFromSource)' == 'true'" Version =" $(SystemTextJsonVersion)" PrivateAssets =" all" />
2529 </ItemGroup >
2630
2731 <Target Name =" GetFilesToPackage" Returns =" @(FilesToPackage)" >
You can’t perform that action at this time.
0 commit comments