Clean up from the move to RC3 packages. Removed the dotnet-core dependency on NuGet.Config now that we have RC3 packages in the cli-deps feed. Re-enabled crossgen for windows now that we added JITPath to the crossgen call.

This commit is contained in:
Livar Cunha 2016-05-24 11:34:40 -07:00 committed by Eric Erhardt
parent 0e60890be2
commit 5d0aefe59f
3 changed files with 6 additions and 5 deletions

View file

@ -154,10 +154,15 @@ namespace Microsoft.DotNet.Cli.Build
IList<string> crossgenArgs = new List<string> {
"-readytorun", "-in", file, "-out", tempPathName,
"-JITPath", GetLibCLRJitPathForVersion(),
"-platform_assemblies_paths", platformAssembliesPaths
};
if (CurrentPlatform.IsUnix)
{
crossgenArgs.Add("-JITPath");
crossgenArgs.Add(GetLibCLRJitPathForVersion());
}
ExecSilent(_crossGenPath, crossgenArgs, env);
File.Copy(tempPathName, file, overwrite: true);