From 190c5244bf7f2f7827a661d2d2bfb85ae40279a3 Mon Sep 17 00:00:00 2001
From: Rob Mensching <rob@firegiant.com>
Date: Mon, 3 Jan 2022 20:50:17 -0800
Subject: Properly place Iis.wixext in its own segment and simplify its build

---
 src/ext/Msmq/Directory.Build.props | 10 ++++++++++
 src/ext/Msmq/msmq.cmd              |  6 +++---
 2 files changed, 13 insertions(+), 3 deletions(-)
 create mode 100644 src/ext/Msmq/Directory.Build.props

(limited to 'src')

diff --git a/src/ext/Msmq/Directory.Build.props b/src/ext/Msmq/Directory.Build.props
new file mode 100644
index 00000000..3efb0afa
--- /dev/null
+++ b/src/ext/Msmq/Directory.Build.props
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- 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. -->
+
+<Project>
+  <PropertyGroup>
+    <SegmentName>Msmq.wixext</SegmentName>
+  </PropertyGroup>
+
+  <Import Project="..\..\Directory.Build.props" />
+</Project>
diff --git a/src/ext/Msmq/msmq.cmd b/src/ext/Msmq/msmq.cmd
index 8b6865fe..963e3ecf 100644
--- a/src/ext/Msmq/msmq.cmd
+++ b/src/ext/Msmq/msmq.cmd
@@ -9,13 +9,13 @@
 @echo Msmq.wixext build %_C%
 
 :: Build
-msbuild -Restore -p:Configuration=%_C% || exit /b
+msbuild -Restore -p:Configuration=%_C% -nologo || exit /b
 
 :: Test
-dotnet test -c %_C% --no-build test\WixToolsetTest.Msmq || exit /b
+dotnet test test\WixToolsetTest.Msmq -c %_C% --no-build --nologo || exit /b
 
 :: Pack
-msbuild -t:Pack -p:Configuration=%_C% -p:NoBuild=true wixext\WixToolset.Msmq.wixext.csproj || exit /b
+dotnet pack wixext\WixToolset.Msmq.wixext.csproj -c %_C% --no-build --nologo || exit /b
 
 @popd
 @endlocal
-- 
cgit v1.2.3-55-g6feb