diff options
author | Rob Mensching <rob@firegiant.com> | 2021-12-19 12:09:04 -0800 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2021-12-30 12:51:23 -0800 |
commit | 0aee408e0b07b92d90ede67800616f7f278a3dc4 (patch) | |
tree | 33eba852b65ba11392898bc3f2f4114b12964e01 /src/ext/DifxApp | |
parent | 91259637be1eccd149093eb49c7ff68826d1d331 (diff) | |
download | wix-0aee408e0b07b92d90ede67800616f7f278a3dc4.tar.gz wix-0aee408e0b07b92d90ede67800616f7f278a3dc4.tar.bz2 wix-0aee408e0b07b92d90ede67800616f7f278a3dc4.zip |
Simplify and normalize ext projects
Now that wix.targets is more compatible with MS.Common.targets
the extension projects can be simplified. Also made their project
files more consistent with each other.
Diffstat (limited to 'src/ext/DifxApp')
-rw-r--r-- | src/ext/DifxApp/difxapp.cmd | 9 | ||||
-rw-r--r-- | src/ext/DifxApp/wixext/WixToolset.DifxApp.wixext.csproj | 9 |
2 files changed, 7 insertions, 11 deletions
diff --git a/src/ext/DifxApp/difxapp.cmd b/src/ext/DifxApp/difxapp.cmd index da2fe7a9..3f822453 100644 --- a/src/ext/DifxApp/difxapp.cmd +++ b/src/ext/DifxApp/difxapp.cmd | |||
@@ -6,19 +6,16 @@ | |||
6 | @if /i "%1"=="release" set _C=Release | 6 | @if /i "%1"=="release" set _C=Release |
7 | @if not "%1"=="" shift & goto parse_args | 7 | @if not "%1"=="" shift & goto parse_args |
8 | 8 | ||
9 | @echo Dependency.wixext build %_C% | 9 | @echo DifxApp.wixext build %_C% |
10 | |||
11 | :: Restore | ||
12 | msbuild -t:Restore -p:Configuration=%_C% || exit /b | ||
13 | 10 | ||
14 | :: Build | 11 | :: Build |
15 | msbuild -t:Build -p:Configuration=%_C% test\WixToolsetTest.DifxApp\WixToolsetTest.DifxApp.csproj || exit /b | 12 | msbuild -Restore -p:Configuration=%_C% || exit /b |
16 | 13 | ||
17 | :: Test | 14 | :: Test |
18 | dotnet test -c %_C% --no-build test\WixToolsetTest.DifxApp || exit /b | 15 | dotnet test -c %_C% --no-build test\WixToolsetTest.DifxApp || exit /b |
19 | 16 | ||
20 | :: Pack | 17 | :: Pack |
21 | msbuild -t:Pack -p:Configuration=%_C% wixext\WixToolset.DifxApp.wixext.csproj || exit /b | 18 | msbuild -t:Pack -p:Configuration=%_C% -p:NoBuild=true wixext\WixToolset.DifxApp.wixext.csproj || exit /b |
22 | 19 | ||
23 | @popd | 20 | @popd |
24 | @endlocal | 21 | @endlocal |
diff --git a/src/ext/DifxApp/wixext/WixToolset.DifxApp.wixext.csproj b/src/ext/DifxApp/wixext/WixToolset.DifxApp.wixext.csproj index 4000d4b3..5a74ad9d 100644 --- a/src/ext/DifxApp/wixext/WixToolset.DifxApp.wixext.csproj +++ b/src/ext/DifxApp/wixext/WixToolset.DifxApp.wixext.csproj | |||
@@ -7,17 +7,16 @@ | |||
7 | <RootNamespace>WixToolset.DifxApp</RootNamespace> | 7 | <RootNamespace>WixToolset.DifxApp</RootNamespace> |
8 | <Description>WiX Toolset DIFxApp Extension</Description> | 8 | <Description>WiX Toolset DIFxApp Extension</Description> |
9 | <Title>WiX Toolset DIFxApp Extension</Title> | 9 | <Title>WiX Toolset DIFxApp Extension</Title> |
10 | <IsTool>true</IsTool> | 10 | <DebugType>embedded</DebugType> |
11 | <ContentTargetFolders>build</ContentTargetFolders> | 11 | <IncludeSymbols>true</IncludeSymbols> |
12 | </PropertyGroup> | 12 | </PropertyGroup> |
13 | 13 | ||
14 | <ItemGroup> | 14 | <ItemGroup> |
15 | <Content Include="$(MSBuildThisFileName).targets" /> | ||
16 | <EmbeddedResource Include="$(OutputPath)..\difxapp.wixlib" /> | 15 | <EmbeddedResource Include="$(OutputPath)..\difxapp.wixlib" /> |
17 | </ItemGroup> | 16 | </ItemGroup> |
18 | 17 | ||
19 | <ItemGroup> | 18 | <ItemGroup Condition=" '$(NCrunch)'=='' "> |
20 | <ProjectReference Include="..\wixlib\difxapp.wixproj" ReferenceOutputAssembly="false" Condition=" '$(NCrunch)'=='' " /> | 19 | <ProjectReference Include="..\wixlib\difxapp.wixproj" ReferenceOutputAssembly="false" SkipGetTargetFrameworkProperties="true" /> |
21 | </ItemGroup> | 20 | </ItemGroup> |
22 | 21 | ||
23 | <ItemGroup> | 22 | <ItemGroup> |