diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2020-06-01 21:58:44 +1000 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2020-06-03 14:24:34 +1000 |
| commit | 82a26a321bae36e38743f50f38887387a392ce24 (patch) | |
| tree | d5a562d5f370b674815711eb29d4415405f28d93 /src/WixToolset.MSBuild | |
| parent | 2ba71ab83ea951a01344e2851a1f411affc42f38 (diff) | |
| download | wix-82a26a321bae36e38743f50f38887387a392ce24.tar.gz wix-82a26a321bae36e38743f50f38887387a392ce24.tar.bz2 wix-82a26a321bae36e38743f50f38887387a392ce24.zip | |
Add ability for net461 tasks to run the tool out of proc.
Diffstat (limited to 'src/WixToolset.MSBuild')
| -rw-r--r-- | src/WixToolset.MSBuild/tools/wix.harvest.targets | 19 | ||||
| -rw-r--r-- | src/WixToolset.MSBuild/tools/wix.targets | 11 |
2 files changed, 21 insertions, 9 deletions
diff --git a/src/WixToolset.MSBuild/tools/wix.harvest.targets b/src/WixToolset.MSBuild/tools/wix.harvest.targets index e4d866ea..dea44469 100644 --- a/src/WixToolset.MSBuild/tools/wix.harvest.targets +++ b/src/WixToolset.MSBuild/tools/wix.harvest.targets | |||
| @@ -3,6 +3,10 @@ | |||
| 3 | 3 | ||
| 4 | 4 | ||
| 5 | <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | 5 | <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| 6 | <!-- These properties can be overridden to support non-default installations. --> | ||
| 7 | <PropertyGroup> | ||
| 8 | <HeatToolDir Condition=" '$(HeatToolDir)' == '' ">$(WixToolDir)</HeatToolDir> | ||
| 9 | </PropertyGroup> | ||
| 6 | 10 | ||
| 7 | <!-- These tasks are extensions for harvesting WiX source code from other sources. --> | 11 | <!-- These tasks are extensions for harvesting WiX source code from other sources. --> |
| 8 | <UsingTask TaskName="HeatFile" AssemblyFile="$(WixTasksPath)" /> | 12 | <UsingTask TaskName="HeatFile" AssemblyFile="$(WixTasksPath)" /> |
| @@ -274,7 +278,10 @@ | |||
| 274 | Configuration="%(_AllHeatProjects.Configuration)" | 278 | Configuration="%(_AllHeatProjects.Configuration)" |
| 275 | Platform="%(_AllHeatProjects.Platform)" | 279 | Platform="%(_AllHeatProjects.Platform)" |
| 276 | GenerateWixVariables="$(HarvestProjectsGenerateWixVariables)" | 280 | GenerateWixVariables="$(HarvestProjectsGenerateWixVariables)" |
| 277 | AdditionalOptions="$(HarvestProjectsAdditionalOptions)"> | 281 | AdditionalOptions="$(HarvestProjectsAdditionalOptions)" |
| 282 | RunAsSeparateProcess="$(RunWixToolsOutOfProc)" | ||
| 283 | ToolExe="$(HeatToolExe)" | ||
| 284 | ToolPath="$(HeatToolDir)"> | ||
| 278 | 285 | ||
| 279 | <Output TaskParameter="OutputFile" ItemName="Compile" /> | 286 | <Output TaskParameter="OutputFile" ItemName="Compile" /> |
| 280 | <Output TaskParameter="OutputFile" ItemName="FileWrites" /> | 287 | <Output TaskParameter="OutputFile" ItemName="FileWrites" /> |
| @@ -359,7 +366,10 @@ | |||
| 359 | SuppressCom="%(HarvestDirectory.SuppressCom)" | 366 | SuppressCom="%(HarvestDirectory.SuppressCom)" |
| 360 | SuppressRootDirectory="%(HarvestDirectory.SuppressRootDirectory)" | 367 | SuppressRootDirectory="%(HarvestDirectory.SuppressRootDirectory)" |
| 361 | SuppressRegistry="%(HarvestDirectory.SuppressRegistry)" | 368 | SuppressRegistry="%(HarvestDirectory.SuppressRegistry)" |
| 362 | AdditionalOptions="$(HarvestDirectoryAdditionalOptions)"> | 369 | AdditionalOptions="$(HarvestDirectoryAdditionalOptions)" |
| 370 | RunAsSeparateProcess="$(RunWixToolsOutOfProc)" | ||
| 371 | ToolExe="$(HeatToolExe)" | ||
| 372 | ToolPath="$(HeatToolDir)"> | ||
| 363 | 373 | ||
| 364 | <Output TaskParameter="OutputFile" ItemName="Compile" /> | 374 | <Output TaskParameter="OutputFile" ItemName="Compile" /> |
| 365 | <Output TaskParameter="OutputFile" ItemName="FileWrites" /> | 375 | <Output TaskParameter="OutputFile" ItemName="FileWrites" /> |
| @@ -432,7 +442,10 @@ | |||
| 432 | SuppressCom="%(HarvestFile.SuppressCom)" | 442 | SuppressCom="%(HarvestFile.SuppressCom)" |
| 433 | SuppressRegistry="%(HarvestFile.SuppressRegistry)" | 443 | SuppressRegistry="%(HarvestFile.SuppressRegistry)" |
| 434 | SuppressRootDirectory="%(HarvestFile.SuppressRootDirectory)" | 444 | SuppressRootDirectory="%(HarvestFile.SuppressRootDirectory)" |
| 435 | AdditionalOptions="$(HarvestFileAdditionalOptions)"> | 445 | AdditionalOptions="$(HarvestFileAdditionalOptions)" |
| 446 | RunAsSeparateProcess="$(RunWixToolsOutOfProc)" | ||
| 447 | ToolExe="$(HeatToolExe)" | ||
| 448 | ToolPath="$(HeatToolDir)"> | ||
| 436 | 449 | ||
| 437 | <Output TaskParameter="OutputFile" ItemName="Compile" /> | 450 | <Output TaskParameter="OutputFile" ItemName="Compile" /> |
| 438 | <Output TaskParameter="OutputFile" ItemName="FileWrites" /> | 451 | <Output TaskParameter="OutputFile" ItemName="FileWrites" /> |
diff --git a/src/WixToolset.MSBuild/tools/wix.targets b/src/WixToolset.MSBuild/tools/wix.targets index 62414017..6914d03e 100644 --- a/src/WixToolset.MSBuild/tools/wix.targets +++ b/src/WixToolset.MSBuild/tools/wix.targets | |||
| @@ -249,11 +249,6 @@ | |||
| 249 | 249 | ||
| 250 | <Error | 250 | <Error |
| 251 | Code="WIX102" | 251 | Code="WIX102" |
| 252 | Condition=" '$(MSBuildToolsVersion)' == '' OR '$(MSBuildToolsVersion)' < '4.0' " | ||
| 253 | Text="MSBuild v$(MSBuildToolsVersion) is not supported by the project "$(MSBuildProjectFile)". You must use MSBuild v4.0 or later." /> | ||
| 254 | |||
| 255 | <Error | ||
| 256 | Code="WIX103" | ||
| 257 | Condition=" '$(WixPdbType)' != 'none' and '$(WixPdbType)' != 'full' " | 252 | Condition=" '$(WixPdbType)' != 'none' and '$(WixPdbType)' != 'full' " |
| 258 | Text="The WixPdbType property '$(WixPdbType)' is not valid in project "$(MSBuildProjectFile)". Supported values are: 'full', 'none'" /> | 253 | Text="The WixPdbType property '$(WixPdbType)' is not valid in project "$(MSBuildProjectFile)". Supported values are: 'full', 'none'" /> |
| 259 | 254 | ||
| @@ -695,7 +690,11 @@ | |||
| 695 | 690 | ||
| 696 | SuppressValidation="$(SuppressValidation)" | 691 | SuppressValidation="$(SuppressValidation)" |
| 697 | SuppressIces="$(SuppressIces)" | 692 | SuppressIces="$(SuppressIces)" |
| 698 | AdditionalCub="$(AdditionalCub)" /> | 693 | AdditionalCub="$(AdditionalCub)" |
| 694 | |||
| 695 | RunAsSeparateProcess="$(RunWixToolsOutOfProc)" | ||
| 696 | ToolExe="$(WixToolExe)" | ||
| 697 | ToolPath="$(WixToolDir)" /> | ||
| 699 | 698 | ||
| 700 | <!-- | 699 | <!-- |
| 701 | SuppressAllWarnings="$(CompilerSuppressAllWarnings);$(LinkerSuppressAllWarnings)" | 700 | SuppressAllWarnings="$(CompilerSuppressAllWarnings);$(LinkerSuppressAllWarnings)" |
