main
csproj 42 lines 1.9 KB
Raw
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->
3
4 <Project Sdk="Microsoft.NET.Sdk">
5 <PropertyGroup>
6 <TargetFrameworks>net6.0-windows;net472</TargetFrameworks>
7 <OutputType>WinExe</OutputType>
8 <AssemblyName>WixToolset.WixBA</AssemblyName>
9 <RootNamespace>WixToolset.WixBA</RootNamespace>
10 <DebugType>embedded</DebugType>
11 <RuntimeIdentifier>win-x64</RuntimeIdentifier>
12 <AssemblyTitle>WixToolset.WixBA</AssemblyTitle>
13 <Description>WiX Bootstrapper Application</Description>
14 <GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute>
15 <GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute>
16 <GenerateAssemblyCopyrightAttribute>false</GenerateAssemblyCopyrightAttribute>
17 <GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
18 <EnableDynamicLoading>true</EnableDynamicLoading>
19 <UseWPF>true</UseWPF>
20 <SelfContained>false</SelfContained>
21 <RollForward>Major</RollForward>
22 <!-- https://stackoverflow.com/questions/58844785/how-to-reference-system-windows-forms-in-net-core-3-0-for-wpf-apps -->
23 <UseWindowsForms>true</UseWindowsForms>
24 </PropertyGroup>
25
26 <ItemGroup>
27 <Resource Include="Resources\logo-white-hollow.png" />
28 <Resource Include="Resources\logo-black-hollow.png" />
29 </ItemGroup>
30
31 <ItemGroup Condition=" '$(TargetFrameworkIdentifier)'=='.NETFramework' ">
32 <Reference Include="PresentationCore" />
33 <Reference Include="PresentationFramework" />
34 <Reference Include="System.Windows.Forms" />
35 <Reference Include="System.Xaml" />
36 <Reference Include="WindowsBase" />
37 </ItemGroup>
38
39 <ItemGroup>
40 <PackageReference Include="WixToolset.BootstrapperApplicationApi" />
41 </ItemGroup>
42 </Project>