Revert "fixes #2760"

This reverts commit 62fd2c5f11.
This commit is contained in:
Bryan 2016-04-29 15:52:55 -07:00
parent 62fd2c5f11
commit 3f4fdb43f7

View file

@ -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);