product changes to support portable tools

This commit is contained in:
Bryan Thornbury 2016-03-17 11:45:13 -07:00
parent b59c4333ea
commit f0c2cb2c18
13 changed files with 363 additions and 78 deletions

View file

@ -122,7 +122,7 @@ namespace Microsoft.DotNet.Tools.Compiler
//used in incremental precondition checks
public static IEnumerable<string> GetCommandsInvokedByCompile(ProjectContext project)
{
return new List<string> {project.ProjectFile.CompilerName, "compile"};
return new List<string> {project.ProjectFile?.CompilerName, "compile"};
}
}
}