Skip exe step for desktop TFM publish
This commit is contained in:
parent
6512d04ff6
commit
0ff309d6d1
1 changed files with 5 additions and 0 deletions
|
@ -155,6 +155,11 @@ namespace Microsoft.DotNet.Tools.Publish
|
||||||
|
|
||||||
private static int PublishForUnix(ProjectContext context, string outputPath)
|
private static int PublishForUnix(ProjectContext context, string outputPath)
|
||||||
{
|
{
|
||||||
|
if (context.TargetFramework.IsDesktop())
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
var coreConsole = Path.Combine(outputPath, Constants.CoreConsoleName);
|
var coreConsole = Path.Combine(outputPath, Constants.CoreConsoleName);
|
||||||
if(!File.Exists(coreConsole))
|
if(!File.Exists(coreConsole))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue