Add csc as default compilerName if one is not specified
Also remove csc from project.json files, since it is no longer necessary.
This commit is contained in:
parent
72665a4f9f
commit
953d934819
8 changed files with 1 additions and 12 deletions
|
@ -191,11 +191,7 @@ namespace Microsoft.DotNet.Tools.Compiler
|
|||
}
|
||||
|
||||
var compilerName = context.ProjectFile.CompilerName;
|
||||
if (compilerName == null)
|
||||
{
|
||||
Console.Error.WriteLine("Could not find the compiler name. Please specify it in the project.json file.");
|
||||
return false;
|
||||
}
|
||||
compilerName = compilerName ?? "csc";
|
||||
|
||||
// Write RSP file
|
||||
var rsp = Path.Combine(intermediateOutputPath, $"dotnet-compile.{compilerName}.rsp");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue