Skip exe step for desktop TFM publish

This commit is contained in:
David Fowler 2015-10-28 17:19:10 -07:00
parent 6512d04ff6
commit 0ff309d6d1

View file

@ -155,6 +155,11 @@ namespace Microsoft.DotNet.Tools.Publish
private static int PublishForUnix(ProjectContext context, string outputPath)
{
if (context.TargetFramework.IsDesktop())
{
return 0;
}
var coreConsole = Path.Combine(outputPath, Constants.CoreConsoleName);
if(!File.Exists(coreConsole))
{