This commit is contained in:
Bryan 2016-04-29 15:49:33 -07:00
parent af5a889477
commit 62fd2c5f11

View file

@ -78,7 +78,7 @@ namespace Microsoft.DotNet.Cli.Compiler.Common
WriteDepsFileAndCopyProjectDependencies(_exporter);
var emitEntryPoint = _compilerOptions.EmitEntryPoint ?? false;
if (emitEntryPoint && !string.IsNullOrEmpty(_context.RuntimeIdentifier))
if (emitEntryPoint && !_context.IsPortable)
{
// TODO: Pick a host based on the RID
CoreHost.CopyTo(_runtimeOutputPath, _compilerOptions.OutputName + Constants.ExeSuffix);