| 1 | <Project Sdk="Microsoft.NET.Sdk"> |
| 2 | <PropertyGroup> |
| 3 | <OutputType>Exe</OutputType> |
| 4 | <TargetFramework>net10.0</TargetFramework> |
| 5 | <Nullable>enable</Nullable> |
| 6 | <ImplicitUsings>enable</ImplicitUsings> |
| 7 | <WindowsNativeInputTests Condition="'$(WindowsNativeInputTests)' == '' and $([MSBuild]::IsOSPlatform('Windows'))">true</WindowsNativeInputTests> |
| 8 | </PropertyGroup> |
| 9 | <PropertyGroup Condition="'$(WindowsNativeInputTests)' == 'true'"> |
| 10 | <TargetFramework>net10.0-windows</TargetFramework> |
| 11 | <UseWindowsForms>true</UseWindowsForms> |
| 12 | </PropertyGroup> |
| 13 | <ItemGroup> |
| 14 | <EmbeddedResource Include="../../packaging/windows/installation-files.ps1" LogicalName="Cage.InstallationFiles.ps1" /> |
| 15 | <EmbeddedResource Include="../../packaging/windows/verified-file-deletion.cs" LogicalName="Cage.VerifiedFileDeletion.cs" /> |
| 16 | <Compile Include="../windows/UpdatePolicy.cs" Link="UpdatePolicy.cs" /> |
| 17 | <Compile Include="../windows/Backend.cs" Link="Backend.cs" /> |
| 18 | <Compile Include="../windows/UpdateRecovery.cs" Link="UpdateRecovery.cs" /> |
| 19 | <Compile Include="../windows/AppUpdater.cs" Link="AppUpdater.cs" /> |
| 20 | <Compile Include="../windows/UpdateInstaller.cs" Link="UpdateInstaller.cs" /> |
| 21 | <Compile Include="../windows/Authenticode.cs" Link="Authenticode.cs" /> |
| 22 | <Compile Include="../windows/WindowLayout.cs" Link="WindowLayout.cs" /> |
| 23 | </ItemGroup> |
| 24 | <ItemGroup Condition="'$(WindowsNativeInputTests)' == 'true'"> |
| 25 | <Compile Include="../windows/NativeInput.cs" Link="NativeInput.cs" /> |
| 26 | </ItemGroup> |
| 27 | <ItemGroup Condition="'$(WindowsNativeInputTests)' != 'true'"> |
| 28 | <Compile Remove="NativeInputTests.cs" /> |
| 29 | </ItemGroup> |
| 30 | </Project> |