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