Only attempt to compile to native if managed passed
This commit is contained in:
parent
6d9d727ed2
commit
5b59b69d70
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ namespace Microsoft.DotNet.Tools.Compiler
|
||||||
foreach (var context in contexts)
|
foreach (var context in contexts)
|
||||||
{
|
{
|
||||||
success &= Compile(context, configValue, outputValue, intermediateOutput.Value(), buildProjectReferences);
|
success &= Compile(context, configValue, outputValue, intermediateOutput.Value(), buildProjectReferences);
|
||||||
if (isNative)
|
if (isNative & success)
|
||||||
{
|
{
|
||||||
success &= CompileNative(context, configValue, outputValue, buildProjectReferences);
|
success &= CompileNative(context, configValue, outputValue, buildProjectReferences);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue