diff options
Diffstat (limited to 'src/ext/Msmq')
-rw-r--r-- | src/ext/Msmq/msmq.cmd | 7 | ||||
-rw-r--r-- | src/ext/Msmq/wixext/WixToolset.Msmq.wixext.csproj | 11 |
2 files changed, 7 insertions, 11 deletions
diff --git a/src/ext/Msmq/msmq.cmd b/src/ext/Msmq/msmq.cmd index dc85e8e9..8b6865fe 100644 --- a/src/ext/Msmq/msmq.cmd +++ b/src/ext/Msmq/msmq.cmd | |||
@@ -8,17 +8,14 @@ | |||
8 | 8 | ||
9 | @echo Msmq.wixext build %_C% | 9 | @echo Msmq.wixext build %_C% |
10 | 10 | ||
11 | :: Restore | ||
12 | msbuild -t:Restore -p:Configuration=%_C% || exit /b | ||
13 | |||
14 | :: Build | 11 | :: Build |
15 | msbuild -t:Build -p:Configuration=%_C% test\WixToolsetTest.Msmq\WixToolsetTest.Msmq.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.Msmq || exit /b | 15 | dotnet test -c %_C% --no-build test\WixToolsetTest.Msmq || exit /b |
19 | 16 | ||
20 | :: Pack | 17 | :: Pack |
21 | msbuild -t:Pack -p:Configuration=%_C% wixext\WixToolset.Msmq.wixext.csproj || exit /b | 18 | msbuild -t:Pack -p:Configuration=%_C% -p:NoBuild=true wixext\WixToolset.Msmq.wixext.csproj || exit /b |
22 | 19 | ||
23 | @popd | 20 | @popd |
24 | @endlocal | 21 | @endlocal |
diff --git a/src/ext/Msmq/wixext/WixToolset.Msmq.wixext.csproj b/src/ext/Msmq/wixext/WixToolset.Msmq.wixext.csproj index 7467aaf2..3e2b0fae 100644 --- a/src/ext/Msmq/wixext/WixToolset.Msmq.wixext.csproj +++ b/src/ext/Msmq/wixext/WixToolset.Msmq.wixext.csproj | |||
@@ -7,20 +7,19 @@ | |||
7 | <RootNamespace>WixToolset.Msmq</RootNamespace> | 7 | <RootNamespace>WixToolset.Msmq</RootNamespace> |
8 | <Description>WiX Toolset MSMQ Extension</Description> | 8 | <Description>WiX Toolset MSMQ Extension</Description> |
9 | <Title>WiX Toolset MSMQ Extension</Title> | 9 | <Title>WiX Toolset MSMQ 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)..\msmq.wixlib" /> | 15 | <EmbeddedResource Include="$(OutputPath)..\msmq.wixlib" /> |
17 | </ItemGroup> | 16 | </ItemGroup> |
18 | 17 | ||
19 | <ItemGroup> | 18 | <ItemGroup Condition=" '$(NCrunch)'=='' "> |
20 | <PackageReference Include="WixToolset.Extensibility" PrivateAssets="all" /> | 19 | <ProjectReference Include="..\wixlib\msmq.wixproj" ReferenceOutputAssembly="false" SkipGetTargetFrameworkProperties="true" /> |
21 | </ItemGroup> | 20 | </ItemGroup> |
22 | 21 | ||
23 | <ItemGroup> | 22 | <ItemGroup> |
24 | <ProjectReference Include="..\wixlib\msmq.wixproj" ReferenceOutputAssembly="false" Condition=" '$(NCrunch)'=='' " /> | 23 | <PackageReference Include="WixToolset.Extensibility" PrivateAssets="all" /> |
25 | </ItemGroup> | 24 | </ItemGroup> |
26 | </Project> | 25 | </Project> |