diff options
| -rw-r--r-- | appveyor.cmd | 44 | ||||
| -rw-r--r-- | appveyor.yml | 2 | ||||
| -rw-r--r-- | src/WixToolset.MSBuild/tools/wix.targets | 2 | ||||
| -rw-r--r-- | src/test/WixToolsetTest.MSBuild/MsbuildFixture.cs | 10 |
4 files changed, 38 insertions, 20 deletions
diff --git a/appveyor.cmd b/appveyor.cmd index 99034ca7..2d32a7f0 100644 --- a/appveyor.cmd +++ b/appveyor.cmd | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | @pushd %~dp0 | 2 | @pushd %~dp0 |
| 3 | @set _C=Release | 3 | @set _C=Release |
| 4 | @set _P=%~dp0build\%_C%\publish | 4 | @set _P=%~dp0build\%_C%\publish |
| 5 | @set _RCO=/S /R:1 /W:1 /NP /XO | ||
| 5 | 6 | ||
| 6 | nuget restore | 7 | nuget restore |
| 7 | 8 | ||
| @@ -10,26 +11,41 @@ dotnet test -c %_C% src\test\WixToolsetTest.WixCop | |||
| 10 | 11 | ||
| 11 | dotnet publish -c %_C% -o %_P%\dotnet-wix\ -f netcoreapp2.1 src\wix | 12 | dotnet publish -c %_C% -o %_P%\dotnet-wix\ -f netcoreapp2.1 src\wix |
| 12 | 13 | ||
| 13 | dotnet publish -c %_C% -o %_P%\WixToolset.MSBuild\tools\net461\x86\ -f net461 -r win-x86 src\WixToolset.BuildTasks | 14 | dotnet publish -c %_C% -o %_P%\WixToolset.MSBuild\separate\net461\x86\buildtasks\ -f net461 -r win-x86 src\WixToolset.BuildTasks |
| 14 | dotnet publish -c %_C% -o %_P%\WixToolset.MSBuild\tools\net461\x86\ -f net461 -r win-x86 src\heat | 15 | dotnet publish -c %_C% -o %_P%\WixToolset.MSBuild\separate\net461\x86\heat\ -f net461 -r win-x86 src\heat |
| 15 | dotnet publish -c %_C% -o %_P%\WixToolset.MSBuild\tools\net461\x86\ -f net461 -r win-x86 src\wix | 16 | dotnet publish -c %_C% -o %_P%\WixToolset.MSBuild\separate\net461\x86\wix\ -f net461 -r win-x86 src\wix |
| 16 | dotnet publish -c %_C% -o %_P%\WixToolset.MSBuild\tools\net461\x86\ -f net461 -r win-x86 src\wixcop | 17 | dotnet publish -c %_C% -o %_P%\WixToolset.MSBuild\separate\net461\x86\wixcop\ -f net461 -r win-x86 src\wixcop |
| 17 | dotnet publish -c %_C% -o %_P%\WixToolset.MSBuild\tools\net461\x64\ -f net461 -r win-x64 src\WixToolset.BuildTasks | 18 | robocopy %_P%\WixToolset.MSBuild\separate\net461\x86\buildtasks %_P%\WixToolset.MSBuild\tools\net461\x86 %_RCO% |
| 18 | dotnet publish -c %_C% -o %_P%\WixToolset.MSBuild\tools\net461\x64\ -f net461 -r win-x64 src\heat | 19 | robocopy %_P%\WixToolset.MSBuild\separate\net461\x86\heat %_P%\WixToolset.MSBuild\tools\net461\x86 %_RCO% |
| 19 | dotnet publish -c %_C% -o %_P%\WixToolset.MSBuild\tools\net461\x64\ -f net461 -r win-x64 src\wix | 20 | robocopy %_P%\WixToolset.MSBuild\separate\net461\x86\wix %_P%\WixToolset.MSBuild\tools\net461\x86 %_RCO% |
| 20 | dotnet publish -c %_C% -o %_P%\WixToolset.MSBuild\tools\net461\x64\ -f net461 -r win-x64 src\wixcop | 21 | robocopy %_P%\WixToolset.MSBuild\separate\net461\x86\wixcop %_P%\WixToolset.MSBuild\tools\net461\x86 %_RCO% |
| 21 | dotnet publish -c %_C% -o %_P%\WixToolset.MSBuild\tools\netcoreapp2.1\ -f netcoreapp2.1 src\WixToolset.BuildTasks | 22 | |
| 22 | dotnet publish -c %_C% -o %_P%\WixToolset.MSBuild\tools\netcoreapp2.1\ -f netcoreapp2.1 src\heat | 23 | dotnet publish -c %_C% -o %_P%\WixToolset.MSBuild\separate\net461\x64\buildtasks\ -f net461 -r win-x64 src\WixToolset.BuildTasks |
| 23 | dotnet publish -c %_C% -o %_P%\WixToolset.MSBuild\tools\netcoreapp2.1\ -f netcoreapp2.1 src\wix | 24 | dotnet publish -c %_C% -o %_P%\WixToolset.MSBuild\separate\net461\x64\heat\ -f net461 -r win-x64 src\heat |
| 24 | dotnet publish -c %_C% -o %_P%\WixToolset.MSBuild\tools\netcoreapp2.1\ -f netcoreapp2.1 src\wixcop | 25 | dotnet publish -c %_C% -o %_P%\WixToolset.MSBuild\separate\net461\x64\wix\ -f net461 -r win-x64 src\wix |
| 26 | dotnet publish -c %_C% -o %_P%\WixToolset.MSBuild\separate\net461\x64\wixcop\ -f net461 -r win-x64 src\wixcop | ||
| 27 | robocopy %_P%\WixToolset.MSBuild\separate\net461\x64\buildtasks %_P%\WixToolset.MSBuild\tools\net461\x64 %_RCO% | ||
| 28 | robocopy %_P%\WixToolset.MSBuild\separate\net461\x64\heat %_P%\WixToolset.MSBuild\tools\net461\x64 %_RCO% | ||
| 29 | robocopy %_P%\WixToolset.MSBuild\separate\net461\x64\wix %_P%\WixToolset.MSBuild\tools\net461\x64 %_RCO% | ||
| 30 | robocopy %_P%\WixToolset.MSBuild\separate\net461\x64\wixcop %_P%\WixToolset.MSBuild\tools\net461\x64 %_RCO% | ||
| 31 | |||
| 32 | dotnet publish -c %_C% -o %_P%\WixToolset.MSBuild\separate\netcoreapp2.1\buildtasks\ -f netcoreapp2.1 src\WixToolset.BuildTasks | ||
| 33 | dotnet publish -c %_C% -o %_P%\WixToolset.MSBuild\separate\netcoreapp2.1\heat\ -f netcoreapp2.1 src\heat | ||
| 34 | dotnet publish -c %_C% -o %_P%\WixToolset.MSBuild\separate\netcoreapp2.1\wix\ -f netcoreapp2.1 src\wix | ||
| 35 | dotnet publish -c %_C% -o %_P%\WixToolset.MSBuild\separate\netcoreapp2.1\wixcop\ -f netcoreapp2.1 src\wixcop | ||
| 36 | robocopy %_P%\WixToolset.MSBuild\separate\netcoreapp2.1\buildtasks %_P%\WixToolset.MSBuild\tools\netcoreapp2.1 %_RCO% | ||
| 37 | robocopy %_P%\WixToolset.MSBuild\separate\netcoreapp2.1\heat %_P%\WixToolset.MSBuild\tools\netcoreapp2.1 %_RCO% | ||
| 38 | robocopy %_P%\WixToolset.MSBuild\separate\netcoreapp2.1\wix %_P%\WixToolset.MSBuild\tools\netcoreapp2.1 %_RCO% | ||
| 39 | robocopy %_P%\WixToolset.MSBuild\separate\netcoreapp2.1\wixcop %_P%\WixToolset.MSBuild\tools\netcoreapp2.1 %_RCO% | ||
| 40 | |||
| 25 | dotnet publish -c %_C% -o %_P%\WixToolset.MSBuild\ src\WixToolset.MSBuild | 41 | dotnet publish -c %_C% -o %_P%\WixToolset.MSBuild\ src\WixToolset.MSBuild |
| 26 | dotnet publish -c %_C% -o %_P%\WixToolset.MSBuild\broken\net461\ -f net461 -r dne src\wix | 42 | dotnet publish -c %_C% -o %_P%\WixToolset.MSBuild\broken\net461\ -f net461 -r dne src\wix |
| 27 | 43 | ||
| 44 | dotnet test -c %_C% src\test\WixToolsetTest.MSBuild | ||
| 45 | |||
| 28 | dotnet pack -c %_C% src\dotnet-wix | 46 | dotnet pack -c %_C% src\dotnet-wix |
| 29 | dotnet pack -c %_C% src\WixToolset.MSBuild | 47 | dotnet pack -c %_C% src\WixToolset.MSBuild |
| 30 | 48 | ||
| 31 | dotnet test -c %_C% src\test\WixToolsetTest.MSBuild | ||
| 32 | |||
| 33 | msbuild -p:Configuration=%_C% .\src\ThmViewerPackage\ThmViewerPackage.wixproj | 49 | msbuild -p:Configuration=%_C% .\src\ThmViewerPackage\ThmViewerPackage.wixproj |
| 34 | 50 | ||
| 35 | @popd | 51 | @popd |
diff --git a/appveyor.yml b/appveyor.yml index 522e5af3..01f87f46 100644 --- a/appveyor.yml +++ b/appveyor.yml | |||
| @@ -30,6 +30,8 @@ nuget: | |||
| 30 | skip_branch_with_pr: true | 30 | skip_branch_with_pr: true |
| 31 | skip_tags: true | 31 | skip_tags: true |
| 32 | 32 | ||
| 33 | test: off | ||
| 34 | |||
| 33 | artifacts: | 35 | artifacts: |
| 34 | - path: build\Release\**\*.nupkg | 36 | - path: build\Release\**\*.nupkg |
| 35 | name: nuget | 37 | name: nuget |
diff --git a/src/WixToolset.MSBuild/tools/wix.targets b/src/WixToolset.MSBuild/tools/wix.targets index 233acef0..6914d03e 100644 --- a/src/WixToolset.MSBuild/tools/wix.targets +++ b/src/WixToolset.MSBuild/tools/wix.targets | |||
| @@ -692,7 +692,7 @@ | |||
| 692 | SuppressIces="$(SuppressIces)" | 692 | SuppressIces="$(SuppressIces)" |
| 693 | AdditionalCub="$(AdditionalCub)" | 693 | AdditionalCub="$(AdditionalCub)" |
| 694 | 694 | ||
| 695 | RunAsSeparateProcess="false" | 695 | RunAsSeparateProcess="$(RunWixToolsOutOfProc)" |
| 696 | ToolExe="$(WixToolExe)" | 696 | ToolExe="$(WixToolExe)" |
| 697 | ToolPath="$(WixToolDir)" /> | 697 | ToolPath="$(WixToolDir)" /> |
| 698 | 698 | ||
diff --git a/src/test/WixToolsetTest.MSBuild/MsbuildFixture.cs b/src/test/WixToolsetTest.MSBuild/MsbuildFixture.cs index aecc607a..163e8402 100644 --- a/src/test/WixToolsetTest.MSBuild/MsbuildFixture.cs +++ b/src/test/WixToolsetTest.MSBuild/MsbuildFixture.cs | |||
| @@ -291,11 +291,11 @@ namespace WixToolsetTest.MSBuild | |||
| 291 | 291 | ||
| 292 | [Theory] | 292 | [Theory] |
| 293 | [InlineData(BuildSystem.DotNetCoreSdk, null)] | 293 | [InlineData(BuildSystem.DotNetCoreSdk, null)] |
| 294 | //[InlineData(BuildSystem.DotNetCoreSdk, true)] | 294 | [InlineData(BuildSystem.DotNetCoreSdk, true)] |
| 295 | [InlineData(BuildSystem.MSBuild, null)] | 295 | [InlineData(BuildSystem.MSBuild, null)] |
| 296 | //[InlineData(BuildSystem.MSBuild, true)] | 296 | [InlineData(BuildSystem.MSBuild, true)] |
| 297 | [InlineData(BuildSystem.MSBuild64, null)] | 297 | [InlineData(BuildSystem.MSBuild64, null)] |
| 298 | //[InlineData(BuildSystem.MSBuild64, true)] | 298 | [InlineData(BuildSystem.MSBuild64, true)] |
| 299 | public void CanBuildSimpleMsiPackageAsWixipl(BuildSystem buildSystem, bool? outOfProc) | 299 | public void CanBuildSimpleMsiPackageAsWixipl(BuildSystem buildSystem, bool? outOfProc) |
| 300 | { | 300 | { |
| 301 | var sourceFolder = TestData.Get(@"TestData\SimpleMsiPackage\MsiPackage"); | 301 | var sourceFolder = TestData.Get(@"TestData\SimpleMsiPackage\MsiPackage"); |
| @@ -381,8 +381,8 @@ namespace WixToolsetTest.MSBuild | |||
| 381 | 381 | ||
| 382 | [Theory] | 382 | [Theory] |
| 383 | [InlineData(BuildSystem.DotNetCoreSdk)] | 383 | [InlineData(BuildSystem.DotNetCoreSdk)] |
| 384 | //[InlineData(BuildSystem.MSBuild)] | 384 | [InlineData(BuildSystem.MSBuild)] |
| 385 | //[InlineData(BuildSystem.MSBuild64)] | 385 | [InlineData(BuildSystem.MSBuild64)] |
| 386 | public void ReportsInnerExceptionForUnexpectedExceptions(BuildSystem buildSystem) | 386 | public void ReportsInnerExceptionForUnexpectedExceptions(BuildSystem buildSystem) |
| 387 | { | 387 | { |
| 388 | var sourceFolder = TestData.Get(@"TestData\SimpleMsiPackage\MsiPackage"); | 388 | var sourceFolder = TestData.Get(@"TestData\SimpleMsiPackage\MsiPackage"); |
