parent
62fd2c5f11
commit
3f4fdb43f7
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ namespace Microsoft.DotNet.Cli.Compiler.Common
|
|||
WriteDepsFileAndCopyProjectDependencies(_exporter);
|
||||
|
||||
var emitEntryPoint = _compilerOptions.EmitEntryPoint ?? false;
|
||||
if (emitEntryPoint && !_context.IsPortable)
|
||||
if (emitEntryPoint && !string.IsNullOrEmpty(_context.RuntimeIdentifier))
|
||||
{
|
||||
// TODO: Pick a host based on the RID
|
||||
CoreHost.CopyTo(_runtimeOutputPath, _compilerOptions.OutputName + Constants.ExeSuffix);
|
||||
|
|
Loading…
Add table
Reference in a new issue