-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
604 additions
and
196 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
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
28 changes: 7 additions & 21 deletions
28
src/Buildvana.Sdk/Modules/AlternatePack/BeforeModules.targets
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,30 +1,16 @@ | ||
<Project> | ||
|
||
<PropertyGroup Condition="'$(AlternatePackMethod)' == 'None'"> | ||
<UsingAlternatePack>true</UsingAlternatePack> | ||
<!-- UseAlternatePack default to false. --> | ||
<PropertyGroup Condition="'$(UseAlternatePack)' != 'true'"> | ||
<UseAlternatePack>false</UseAlternatePack> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(AlternatePackMethod)' == 'PublishToFolders'"> | ||
<UsingAlternatePack>true</UsingAlternatePack> | ||
<BV_AlternatePackMethod_PublishToFolders>true</BV_AlternatePackMethod_PublishToFolders> | ||
<!-- Disable functionality provided by the NuGetPack module when using alternate pack. --> | ||
<PropertyGroup Condition="$(UseAlternatePack)"> | ||
<IncludeNuGetPackSupport>false</IncludeNuGetPackSupport> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(AlternatePackMethod)' == 'InnoSetup'"> | ||
<UsingAlternatePack>true</UsingAlternatePack> | ||
<BV_AlternatePackMethod_PublishToFolders>true</BV_AlternatePackMethod_PublishToFolders> | ||
<BV_AlternatePackMethod_InnoSetup>true</BV_AlternatePackMethod_InnoSetup> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(UsingAlternatePack)' != 'true'"> | ||
<UsingAlternatePack>false</UsingAlternatePack> | ||
</PropertyGroup> | ||
|
||
<ItemGroup Condition="'$(AlternatePackMethod)' != '' And !$(UsingAlternatePack)"> | ||
<EvaluationError Include="BVSDK1900" | ||
Text="Unknown alternate pack method '$(AlternatePackMethod)'." /> | ||
</ItemGroup> | ||
|
||
<Import Project="BeforeModules.Core.targets" | ||
Condition="$(UsingAlternatePack)" /> | ||
Condition="$(UseAlternatePack)" /> | ||
|
||
</Project> |
Oops, something went wrong.