Remove crossgenning mscorlib on Unix platforms, since the CoreCLR nuget package now carries the crossgenned mscorlib on non-Windows platforms.
This commit is contained in:
parent
0de7a4c934
commit
3bfd86b254
1 changed files with 1 additions and 10 deletions
|
@ -335,7 +335,7 @@ namespace Microsoft.DotNet.Cli.Build
|
|||
|
||||
private static List<string> GetAssembliesToCrossGen()
|
||||
{
|
||||
var list = new List<string>
|
||||
return new List<string>
|
||||
{
|
||||
"System.Collections.Immutable.dll",
|
||||
"System.Reflection.Metadata.dll",
|
||||
|
@ -345,15 +345,6 @@ namespace Microsoft.DotNet.Cli.Build
|
|||
"csc.dll",
|
||||
"vbc.dll"
|
||||
};
|
||||
|
||||
// mscorlib is already crossgenned on Windows
|
||||
if (!RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
|
||||
{
|
||||
// mscorlib has to be crossgenned first
|
||||
list.Insert(0, "mscorlib.dll");
|
||||
}
|
||||
|
||||
return list;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue