Skip to content

Commit bd29496

Browse files
authored
Explicitly referencing the latest Netstandard library (#67866)
* Explicitly referencing the latest Netstandard library * FB
1 parent ce64dae commit bd29496

File tree

5 files changed

+13
-1
lines changed

5 files changed

+13
-1
lines changed

src/coreclr/tools/aot/ILCompiler.TypeSystem/ILCompiler.TypeSystem.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<Version>$(SystemReflectionMetadataVersion)</Version>
3232
</PackageReference>
3333
<PackageReference Condition = "'$(EnableDiaSymReaderUse)' == 'true'" Include="Microsoft.DiaSymReader">
34-
<Version>1.3.0</Version>
34+
<Version>1.4.0</Version>
3535
</PackageReference>
3636
</ItemGroup>
3737
<ItemGroup>

src/coreclr/tools/aot/ILCompiler/ILCompiler.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
<OutputPath>$(RuntimeBinDir)ilc/</OutputPath>
44
<RuntimeIdentifier>$(OutputRid)</RuntimeIdentifier>
55
</PropertyGroup>
6+
67
<Import Project="ILCompiler.props" />
78
</Project>

src/coreclr/tools/aot/ILCompiler/ILCompiler.props

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@
5757
<Version>$(ObjWriterVersion)</Version>
5858
</PackageReference>
5959

60+
<!-- Workaround until the SDK does this, see https://github.com/dotnet/sdk/issues/24799 -->
61+
<PackageReference Include="NETStandard.Library">
62+
<Version>$(NetStandardLibraryVersion)</Version>
63+
</PackageReference>
64+
6065
<Content Include="$(NuGetPackageRoot)runtime.$(ObjWriterRid).microsoft.netcore.runtime.objwriter\$(ObjWriterVersion)\runtimes\$(ObjWriterRid)\native\$(LibPrefix)objwriter$(LibSuffix)">
6166
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
6267
<Visible>false</Visible>

src/coreclr/tools/dotnet-pgo/dotnet-pgo.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,7 @@
6060
<ProjectReference Include="../aot/ILCompiler.Reflection.ReadyToRun/ILCompiler.Reflection.ReadyToRun.csproj" />
6161
<PackageReference Include="Microsoft.Diagnostics.Tracing.TraceEvent" Version="$(TraceEventVersion)" />
6262
<PackageReference Include="System.Reflection.Metadata" Version="$(SystemReflectionMetadataVersion)" />
63+
<!-- Workaround until the SDK does this, see https://github.com/dotnet/sdk/issues/24799 -->
64+
<PackageReference Include="NETStandard.Library" Version="$(NetStandardLibraryVersion)" />
6365
</ItemGroup>
6466
</Project>

src/coreclr/tools/r2rdump/R2RDump.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@
2323
</PackageReference>
2424
<ProjectReference Include="..\aot\ILCompiler.Diagnostics\ILCompiler.Diagnostics.csproj" />
2525
<ProjectReference Include="..\aot\ILCompiler.Reflection.ReadyToRun\ILCompiler.Reflection.ReadyToRun.csproj" />
26+
<!-- Workaround until the SDK does this, see https://github.com/dotnet/sdk/issues/24799 -->
27+
<PackageReference Include="NETStandard.Library">
28+
<Version>$(NetStandardLibraryVersion)</Version>
29+
</PackageReference>
2630
<Content Include="$(CoreDisToolsLibrary)" Condition="Exists('$(CoreDisToolsLibrary)')">
2731
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
2832
</Content>

0 commit comments

Comments
 (0)