Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 61 additions & 0 deletions platforms/Windows/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<PropertyGroup>
<ProductArchitecture Condition=" '$(ProductArchitecture)' == '' ">amd64</ProductArchitecture>
<ProductArchitecture>$(ProductArchitecture)</ProductArchitecture>

<ProductVersion Condition=" '$(ProductVersion)' == '' ">0.0.0</ProductVersion>
<ProductVersion>$(ProductVersion)</ProductVersion>
</PropertyGroup>

<PropertyGroup Condition=" '$(ProductArchitecture)' == 'amd64' ">
<Platform>x64</Platform>
</PropertyGroup>
<PropertyGroup Condition=" '$(ProductArchitecture)' == 'arm64' ">
<Platform>arm64</Platform>
</PropertyGroup>
<PropertyGroup Condition=" '$(ProductArchitecture)' == 'arm' ">
<Platform>arm</Platform>
</PropertyGroup>
<PropertyGroup Condition=" '$(ProductArchitecture)' == 'x86' ">
<Platform>x86</Platform>
</PropertyGroup>

<PropertyGroup>
<RootBuildFolder>$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)build\))</RootBuildFolder>
<BaseOutputPath>$(RootBuildFolder)</BaseOutputPath>
<BaseIntermediateOutputPath>$(BaseOutputPath)obj\$(MSBuildProjectName)\</BaseIntermediateOutputPath>
<OutputPath>$(BaseOutputPath)$(Configuration)\$(ProductArchitecture)\</OutputPath>

<DefaultCompressionLevel Condition="'$(DefaultCompressionLevel)' == ''">high</DefaultCompressionLevel>
</PropertyGroup>

<PropertyGroup>
<PackageScope>perMachine</PackageScope>
<IsBundleCompressed>true</IsBundleCompressed>
<MSI_LOCATION Condition="'$(MSI_LOCATION)' == ''">$(OutputPath)</MSI_LOCATION>
</PropertyGroup>

<Import Project="$(USERNAME).props" Condition="Exists('$(USERNAME).props')" />

<PropertyGroup>
<DefineConstants>
$(DefineConstants);
ProductArchitecture=$(ProductArchitecture);
ProductVersion=$(ProductVersion);
PackageScope=$(PackageScope);
IsBundleCompressed=$(IsBundleCompressed);
MSI_LOCATION=$(MSI_LOCATION);
</DefineConstants>
</PropertyGroup>

<PropertyGroup >
<PackageScope>perMachine</PackageScope>
<IsBundleCompressed>true</IsBundleCompressed>
</PropertyGroup>

<PropertyGroup>
<HarvestNoLogo>true</HarvestNoLogo>
<HarvestGenerateGuidsNow>true</HarvestGenerateGuidsNow>
</PropertyGroup>
</Project>
8 changes: 8 additions & 0 deletions platforms/Windows/Directory.Build.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<ItemGroup Condition="'$(MSBuildProjectName)' != 'shared'">
<ProjectReference Include="..\shared\shared.wixproj" />
</ItemGroup>

<Import Project="WiXCodeSigning.targets" />
</Project>
Binary file removed platforms/Windows/Resources/swift_banner.png
Binary file not shown.
Binary file removed platforms/Windows/Resources/swift_dialog.png
Binary file not shown.
62 changes: 0 additions & 62 deletions platforms/Windows/bld.wixproj

This file was deleted.

Loading