Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

5 changes: 0 additions & 5 deletions src/coreclr/src/.nuget/descriptions.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,5 @@
"Name": "Microsoft.NET.Sdk.IL",
"Description": "Provides support for building IL projects.",
"CommonTypes": [ ]
},
{
"Name": "Microsoft.NETCore.Crossgen2",
"Description": "The .NET Crossgen2 compiler.",
"CommonTypes": [ ]
}
]
4 changes: 0 additions & 4 deletions src/coreclr/src/.nuget/packages.builds
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@
<ProjectReference Include="Microsoft.NETCore.ILDAsm\Microsoft.NETCore.ILDAsm.builds" />
</ItemGroup>

<ItemGroup Condition="'$(BuildArch)'=='x64' And ('$(__BuildOS)' == 'Windows_NT' Or '$(__BuildOS)' == 'Linux')">
<ProjectReference Include="Microsoft.NETCore.Crossgen2\Microsoft.NETCore.Crossgen2.builds" />
</ItemGroup>

<!-- Generate a version.txt file we include in our packages
The InitializeSourceControlInformationFromSourceControlManager is part of Microsoft.Build.Tasks.Git
and is responsible for setting SourceRevisionId -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,57 +29,14 @@

<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />

<PropertyGroup>
<Crossgen2RuntimeConfigFile>$(IntermediateOutputPath)crossgen2.runtimeconfig.json</Crossgen2RuntimeConfigFile>
</PropertyGroup>

<ItemGroup>
<ArchitectureSpecificToolFile Include="$(CoreCLRCrossgen2Dir)crossgen2$(ExeSuffix)" />
<ArchitectureSpecificToolFile Include="$(CoreCLRCrossgen2Dir)crossgen2.dll" />
<ArchitectureSpecificToolFile Include="$(CoreCLRCrossgen2Dir)ILCompiler*.dll" />
<ArchitectureSpecificToolFile Include="$(CoreCLRCrossgen2Dir)Microsoft.DiaSymReader.dll" />
<ArchitectureSpecificToolFile Include="$(CoreCLRCrossgen2Dir)System.CommandLine.dll" />
<ArchitectureSpecificToolFile Include="$(CoreCLRCrossgen2Dir)$(LibraryFilePrefix)clrjitilc$(LibraryFileExtension)" />
<ArchitectureSpecificToolFile Include="$(CoreCLRCrossgen2Dir)$(LibraryFilePrefix)jitinterface$(LibraryFileExtension)" />

<ArchitectureSpecificToolFile Include="$(Crossgen2RuntimeConfigFile)" />
<ArchitectureSpecificToolFile Include="$(CoreCLRCrossgen2Dir)*" />

<File Include="@(ArchitectureSpecificToolFile)">
<TargetPath>tools</TargetPath>
</File>
</ItemGroup>

<Target Name="WriteCrossgen2RuntimeConfig"
BeforeTargets="GetPackageFiles">
<PropertyGroup>
<!--
We're publishing crossgen2 in its own package as framework dependent application for now
since we only have two simple scenarios we want to support in the short term: win_x64 to
win_x64 and linux_x64 to linux_x64 compilations. Once we have more complex targets,
especially cross-platform and cross-architecture, crossgen2 will become a self-contained
package.
-->
<Crossgen2RuntimeConfigContents>
{
"runtimeOptions": {
"tfm": "netcoreapp5.0",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "5.0.100-alpha1-015772"
}
}
}
</Crossgen2RuntimeConfigContents>
</PropertyGroup>

<!-- Emit the runtime config json file that will be packaged with crossgen2 -->
<WriteLinesToFile
File="$(Crossgen2RuntimeConfigFile)"
Lines="$(Crossgen2RuntimeConfigContents)"
Overwrite="true"
WriteOnlyWhenDifferent="true" />
</Target>

<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />

</Project>