-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
automatic disabling of packaging for Web apps
- Loading branch information
Showing
2 changed files
with
10 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
<!-- | ||
NuGetizer.targets | ||
Created: 2022-10-21-11:40:42 | ||
Modified: 2022-10-29-02:48:11 | ||
Author: David G. Moore, Jr. <[email protected]> | ||
Copyright © 2022-2023 David G. Moore, Jr., All Rights Reserved | ||
License: MIT (https://opensource.org/licenses/MIT) | ||
--> | ||
|
@@ -16,4 +16,11 @@ | |
<GeneratePackageOnBuild>false</GeneratePackageOnBuild> | ||
</PropertyGroup> | ||
</Target> | ||
<PropertyGroup> | ||
<IsWebApp>$('$(UsingMicrosoftNETSdkWeb)' == 'true')</IsWebApp> | ||
<GeneratePackageOnBuild Condition="'$(OutputType)' != 'Exe' And '$(IsWebApp)' != 'true'">true</GeneratePackageOnBuild> | ||
<IsNuGetized Condition="!$(GeneratePackageOnBuild)">$(GeneratePackageOnBuild)</IsNuGetized> | ||
<IsPackagingFile Condition="!$(GeneratePackageOnBuild)">$(GeneratePackageOnBuild)</IsPackagingFile> | ||
<IsPackable Condition="!$(GeneratePackageOnBuild)">$(GeneratePackageOnBuild)</IsPackable> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters