File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Tasks/Microsoft.NET.Build.Tasks/targets Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -27,8 +27,8 @@ Copyright (c) .NET Foundation. All rights reserved.
2727 <PropertyGroup >
2828 <_ToolsSettingsFilePath >$(BaseIntermediateOutputPath)DotnetToolSettings.xml</_ToolsSettingsFilePath >
2929 <SuppressDependenciesWhenPacking Condition =" '$(PackAsTool)' == 'true' " >true</SuppressDependenciesWhenPacking >
30- <_PackToolPublishDependency Condition =" '$(GeneratePackageOnBuild)' != 'true' and $(IsPublishable) == 'true' " >_PublishBuildAlternative</_PackToolPublishDependency >
31- <_PackToolPublishDependency Condition =" '$(GeneratePackageOnBuild)' == 'true' and $(IsPublishable) == 'true' " >$(_PublishNoBuildAlternativeDependsOn)</_PackToolPublishDependency >
30+ <_PackToolPublishDependency Condition =" ( '$(GeneratePackageOnBuild)' != 'true' and '$(NoBuild)' != 'true') and $(IsPublishable) == 'true' " >_PublishBuildAlternative</_PackToolPublishDependency >
31+ <_PackToolPublishDependency Condition =" ( '$(GeneratePackageOnBuild)' == 'true' or '$(NoBuild)' == 'true') and $(IsPublishable) == 'true' " >$(_PublishNoBuildAlternativeDependsOn)</_PackToolPublishDependency >
3232 </PropertyGroup >
3333
3434 <Target Name =" PackTool" DependsOnTargets =" GenerateToolsSettingsFileFromBuildProperty;$(_PackToolPublishDependency);_PackToolValidation" Condition =" '$(PackAsTool)' == 'true' " >
You can’t perform that action at this time.
0 commit comments