Properly place Iis.wixext in its own segment and simplify its build
Rob Mensching committed
Jan 3, 2022 at 20:50 UTC
d4b81140251e365a3241a15b16efc65a035c152a
2 files changed
+13
-3
src/ext/Iis/Directory.Build.props
new
+10
@@ -0,0 +1,10 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->
3
+
4
+<Project>
5
+ <PropertyGroup>
6
+ <SegmentName>Iis.wixext</SegmentName>
7
+ </PropertyGroup>
8
+
9
+ <Import Project="..\..\Directory.Build.props" />
10
+</Project>
src/ext/Iis/iis.cmd
+3
-3
@@ -9,13 +9,13 @@
9
@echo Iis.wixext build %_C%
10
11
:: Build
12
-msbuild -Restore -p:Configuration=%_C% || exit /b
12
+msbuild -Restore -p:Configuration=%_C% -nologo || exit /b
13
14
:: Test
15
-dotnet test -c %_C% --no-build test\WixToolsetTest.Iis || exit /b
15
+dotnet test test\WixToolsetTest.Iis -c %_C% --no-build --nologo || exit /b
16
17
:: Pack
18
-msbuild -t:Pack -p:Configuration=%_C% -p:NoBuild=true wixext\WixToolset.Iis.wixext.csproj || exit /b
18
+dotnet pack wixext\WixToolset.Iis.wixext.csproj -c %_C% --no-build --nologo || exit /b
19
20
@popd
21
@endlocal