summaryrefslogtreecommitdiff
path: root/src/ext/Http
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2021-12-19 12:09:04 -0800
committerRob Mensching <rob@firegiant.com>2021-12-30 12:51:23 -0800
commit0aee408e0b07b92d90ede67800616f7f278a3dc4 (patch)
tree33eba852b65ba11392898bc3f2f4114b12964e01 /src/ext/Http
parent91259637be1eccd149093eb49c7ff68826d1d331 (diff)
downloadwix-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/Http')
-rw-r--r--src/ext/Http/http.cmd7
-rw-r--r--src/ext/Http/wixext/WixToolset.Http.wixext.csproj12
2 files changed, 7 insertions, 12 deletions
diff --git a/src/ext/Http/http.cmd b/src/ext/Http/http.cmd
index 0115db8b..12919b6b 100644
--- a/src/ext/Http/http.cmd
+++ b/src/ext/Http/http.cmd
@@ -8,17 +8,14 @@
8 8
9@echo Http.wixext build %_C% 9@echo Http.wixext build %_C%
10 10
11:: Restore
12msbuild -t:Restore -p:Configuration=%_C% || exit /b
13
14:: Build 11:: Build
15msbuild -t:Build -p:Configuration=%_C% test\WixToolsetTest.Http\WixToolsetTest.Http.csproj || exit /b 12msbuild -Restore -p:Configuration=%_C% || exit /b
16 13
17:: Test 14:: Test
18dotnet test -c %_C% --no-build test\WixToolsetTest.Http || exit /b 15dotnet test -c %_C% --no-build test\WixToolsetTest.Http || exit /b
19 16
20:: Pack 17:: Pack
21msbuild -t:Pack -p:Configuration=%_C% wixext\WixToolset.Http.wixext.csproj || exit /b 18msbuild -t:Pack -p:Configuration=%_C% -p:NoBuild=true wixext\WixToolset.Http.wixext.csproj || exit /b
22 19
23@popd 20@popd
24@endlocal 21@endlocal
diff --git a/src/ext/Http/wixext/WixToolset.Http.wixext.csproj b/src/ext/Http/wixext/WixToolset.Http.wixext.csproj
index cfa874a0..52273c3a 100644
--- a/src/ext/Http/wixext/WixToolset.Http.wixext.csproj
+++ b/src/ext/Http/wixext/WixToolset.Http.wixext.csproj
@@ -7,21 +7,19 @@
7 <RootNamespace>WixToolset.Http</RootNamespace> 7 <RootNamespace>WixToolset.Http</RootNamespace>
8 <Description>WiX Toolset Http Extension</Description> 8 <Description>WiX Toolset Http Extension</Description>
9 <Title>WiX Toolset Http Extension</Title> 9 <Title>WiX Toolset Http 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)..\http.wixlib" /> 15 <EmbeddedResource Include="$(OutputPath)..\http.wixlib" />
17 </ItemGroup> 16 </ItemGroup>
18 17
19 <ItemGroup> 18 <ItemGroup Condition=" '$(NCrunch)'=='' ">
20 <PackageReference Include="WixToolset.Data" PrivateAssets="all" /> 19 <ProjectReference Include="..\wixlib\http.wixproj" ReferenceOutputAssembly="false" SkipGetTargetFrameworkProperties="true" />
21 <PackageReference Include="WixToolset.Extensibility" PrivateAssets="all" />
22 </ItemGroup> 20 </ItemGroup>
23 21
24 <ItemGroup> 22 <ItemGroup>
25 <ProjectReference Include="..\wixlib\http.wixproj" ReferenceOutputAssembly="false" Condition=" '$(NCrunch)'=='' " /> 23 <PackageReference Include="WixToolset.Extensibility" PrivateAssets="all" />
26 </ItemGroup> 24 </ItemGroup>
27</Project> 25</Project>