From 1550b30702ae4e83ea8b30bf95a4f20a6424aa4b Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Sat, 27 Feb 2021 15:38:50 -0800 Subject: Include native .pdbs in .wixext.nupkg and refine build process --- appveyor.cmd | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'appveyor.cmd') diff --git a/appveyor.cmd b/appveyor.cmd index 6bb3b543..3450d535 100644 --- a/appveyor.cmd +++ b/appveyor.cmd @@ -1,14 +1,19 @@ @setlocal @pushd %~dp0 +@set _C=Release +@if /i "%1"=="debug" set _C=Debug -nuget restore || exit /b +:: Restore +msbuild -p:Configuration=%_C% -t:Restore || exit /b -msbuild -p:Configuration=Release -t:Restore || exit /b +:: Build +msbuild -p:Configuration=%_C% src\test\WixToolsetTest.Dependency\WixToolsetTest.Dependency.csproj || exit /b -msbuild -p:Configuration=Release src\test\WixToolsetTest.Dependency\WixToolsetTest.Dependency.csproj || exit /b -dotnet test -c Release --no-build src\test\WixToolsetTest.Dependency || exit /b +:: Test +dotnet test -c %_C% --no-build src\test\WixToolsetTest.Dependency || exit /b -msbuild -p:Configuration=Release -t:Pack src\wixext\WixToolset.Dependency.wixext.csproj || exit /b +:: Pack +msbuild -p:Configuration=%_C% -p:NoBuild=true -t:Pack src\wixext\WixToolset.Dependency.wixext.csproj || exit /b @popd -@endlocal \ No newline at end of file +@endlocal -- cgit v1.2.3-55-g6feb