2019-09-04 18:26:26 +02:00
<?xml version="1.0" encoding="utf-8"?>
2019-10-09 12:21:21 -07:00
<Project ToolsVersion="4.0" DefaultTargets="Build" InitialTargets="EnsureNuGetPackageBuildImports" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2019-12-09 09:03:07 +01:00
<Import Project="..\packages\WiX.3.11.2\build\wix.props" Condition="Exists('..\packages\WiX.3.11.2\build\wix.props')" />
2020-08-05 00:04:18 -07:00
<Import Project="..\..\src\Version.props" />
<PropertyGroup>
2022-01-25 21:02:10 +01:00
<DefineConstants>Version=$(Version);MonacoSRCHarvestPath=$(ProjectDir)..\..\x64\$(Configuration)\modules\FileExplorerPreview\monacoSRC</DefineConstants>
2022-01-05 21:28:09 +03:00
<Name>PowerToysInstaller</Name>
2020-08-05 00:04:18 -07:00
</PropertyGroup>
2019-09-04 18:26:26 +02:00
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Release</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x64</Platform>
<ProductVersion>3.10</ProductVersion>
<ProjectGuid>022a9d30-7c4f-416d-a9df-5ff2661cc0ad</ProjectGuid>
<SchemaVersion>2.0</SchemaVersion>
2020-03-05 17:52:21 +03:00
<OutputName>PowerToysSetup-$(Version)-$(Platform)</OutputName>
2019-09-04 18:26:26 +02:00
<OutputType>Package</OutputType>
2019-10-09 12:21:21 -07:00
<SuppressAclReset>True</SuppressAclReset>
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
2019-09-04 18:26:26 +02:00
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
<OutputPath>$(Platform)\$(Configuration)\</OutputPath>
<IntermediateOutputPath>obj\$(Platform)\$(Configuration)\</IntermediateOutputPath>
2022-01-05 21:28:09 +03:00
<SuppressIces>ICE91</SuppressIces>
<SuppressValidation>True</SuppressValidation>
2019-09-04 18:26:26 +02:00
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
<OutputPath>$(Platform)\$(Configuration)\</OutputPath>
<IntermediateOutputPath>obj\$(Platform)\$(Configuration)\</IntermediateOutputPath>
2022-01-05 21:28:09 +03:00
<SuppressValidation>True</SuppressValidation>
<SuppressIces>ICE91</SuppressIces>
2019-09-04 18:26:26 +02:00
</PropertyGroup>
<ItemGroup>
<Compile Include="CustomDialogs\PTInstallDirDlg.wxs" />
2019-09-09 12:38:04 -04:00
<Compile Include="CustomDialogs\PTLicenseDlg.wxs" />
2019-09-04 18:26:26 +02:00
<Compile Include="CustomDialogs\WixUI_PTInstallDir.wxs" />
<Compile Include="Product.wxs" />
2022-01-25 21:02:10 +01:00
<Compile Include="MonacoSRC.wxs" />
2019-09-04 18:26:26 +02:00
</ItemGroup>
<ItemGroup>
<WixExtension Include="WixUtilExtension">
<HintPath>$(WixExtDir)\WixUtilExtension.dll</HintPath>
<Name>WixUtilExtension</Name>
</WixExtension>
<WixExtension Include="WixUIExtension">
<HintPath>$(WixExtDir)\WixUIExtension.dll</HintPath>
<Name>WixUIExtension</Name>
</WixExtension>
2019-12-09 19:02:47 +03:00
<WixExtension Include="WixNetFxExtension">
<HintPath>$(WixExtDir)\WixNetFxExtension.dll</HintPath>
<Name>WixNetFxExtension</Name>
</WixExtension>
2019-09-04 18:26:26 +02:00
</ItemGroup>
<ItemGroup>
<Folder Include="CustomDialogs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\PowerToysSetupCustomActions\PowerToysSetupCustomActions.vcxproj">
<Name>PowerToysSetupCustomActions</Name>
<Project>{32f3882b-f2d6-4586-b5ed-11e39e522bd3}</Project>
<Private>True</Private>
<DoNotHarvest>True</DoNotHarvest>
<RefProjectOutputGroups>Binaries;Content;Satellites</RefProjectOutputGroups>
<RefTargetDir>INSTALLFOLDER</RefTargetDir>
</ProjectReference>
</ItemGroup>
2019-10-09 12:21:21 -07:00
<ItemGroup>
<Content Include="packages.config" />
</ItemGroup>
2020-03-04 12:37:32 -08:00
<Import Project="$(WixTargetsPath)" Condition=" '$(WixTargetsPath)' != '' " />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets" Condition=" '$(WixTargetsPath)' == '' AND Exists('$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets') " />
<Target Name="EnsureWixToolsetInstalled" Condition=" '$(WixTargetsImported)' != 'true' ">
<Error Text="The WiX Toolset v3 build tools must be installed to build this project. To download the WiX Toolset, see http://wixtoolset.org/releases/" />
</Target>
2019-10-09 12:21:21 -07:00
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
2019-12-09 09:03:07 +01:00
<Error Condition="!Exists('..\packages\WiX.3.11.2\build\wix.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\WiX.3.11.2\build\wix.props'))" />
2019-09-04 18:26:26 +02:00
</Target>
2020-05-08 09:07:18 -07:00
<PropertyGroup>
2021-12-17 18:15:31 -08:00
<!-- THIS IS AN INNER LOOP OPTIMIZATION
The build pipeline builds the Settings and Launcher projects for Publication
using a specific profile. If you're doing local installer builds, this will
simulate the build pipeline doing that for you. -->
2020-05-20 09:55:17 -07:00
<PreBuildEvent>IF NOT DEFINED IsPipeline (
2020-10-28 17:22:42 -07:00
call "$([MSBuild]::GetVsInstallRoot())\Common7\Tools\VsDevCmd.bat" -arch=amd64 -host_arch=amd64 -winsdk=10.0.18362.0
2020-05-20 09:55:17 -07:00
SET PTRoot=..\..\..\..
call "..\..\publish.cmd"
)</PreBuildEvent>
2020-05-08 09:07:18 -07:00
</PropertyGroup>
2019-09-04 18:26:26 +02:00
<!--
To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Wix.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
2022-01-25 21:02:10 +01:00
<Target Name="BeforeBuild">
2022-02-07 06:08:30 -08:00
<HeatDirectory Directory="..\..\src\modules\previewpane\MonacoPreviewHandler\monacoSRC"
PreprocessorVariable="var.MonacoSRCHarvestPath"
OutputFile="MonacoSRC.wxs"
ComponentGroupName="MonacoSRCHeatGenerated"
DirectoryRefId="MonacoPreviewHandlerMonacoSRCFolder"
AutogenerateGuids="true"
ToolPath="$(WixToolPath)"
RunAsSeparateProcess="true"
SuppressFragments="true"
SuppressRegistry="true"
SuppressRootDirectory="true" />
2022-01-25 21:02:10 +01:00
</Target>
2019-09-04 18:26:26 +02:00
</Project>