| 1 | <Project Sdk="Microsoft.NET.Sdk"> |
| 2 | <PropertyGroup> |
| 3 | <OutputType>WinExe</OutputType> |
| 4 | <TargetFramework>net10.0-windows10.0.19041.0</TargetFramework> |
| 5 | <UseWindowsForms>true</UseWindowsForms> |
| 6 | <ApplicationHighDpiMode>PerMonitorV2</ApplicationHighDpiMode> |
| 7 | <EnableWindowsTargeting>true</EnableWindowsTargeting> |
| 8 | <RuntimeIdentifier>win-x64</RuntimeIdentifier> |
| 9 | <SelfContained>true</SelfContained> |
| 10 | <PublishSingleFile>true</PublishSingleFile> |
| 11 | <IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract> |
| 12 | <EnableCompressionInSingleFile>true</EnableCompressionInSingleFile> |
| 13 | <AssemblyName>Cage</AssemblyName> |
| 14 | <RootNamespace>Cage.Windows</RootNamespace> |
| 15 | <Nullable>enable</Nullable> |
| 16 | <ImplicitUsings>enable</ImplicitUsings> |
| 17 | <Version>0.1.0-alpha.1</Version> |
| 18 | <ApplicationManifest>app.manifest</ApplicationManifest> |
| 19 | <ApplicationIcon>../../packaging/windows/Cage.ico</ApplicationIcon> |
| 20 | <RestorePackagesWithLockFile>true</RestorePackagesWithLockFile> |
| 21 | <IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion> |
| 22 | </PropertyGroup> |
| 23 | <ItemGroup> |
| 24 | <PackageReference Include="Microsoft.Web.WebView2" Version="1.0.4314.35" /> |
| 25 | <EmbeddedResource Include="../../packaging/windows/installation-files.ps1" LogicalName="Cage.InstallationFiles.ps1" /> |
| 26 | <EmbeddedResource Include="../../packaging/windows/verified-file-deletion.cs" LogicalName="Cage.VerifiedFileDeletion.cs" /> |
| 27 | </ItemGroup> |
| 28 | <Target Name="RemoveUnusedWebView2WpfReference" BeforeTargets="ResolveAssemblyReferences"> |
| 29 | <ItemGroup><Reference Remove="@(Reference)" Condition="'%(Reference.Filename)' == 'Microsoft.Web.WebView2.Wpf'" /></ItemGroup> |
| 30 | </Target> |
| 31 | </Project> |