2023-05-15 23:32:26 +01:00
<Project Sdk= "Microsoft.NET.Sdk" >
2024-08-05 14:29:11 -07:00
<!-- Look at Directory.Build.props in root for common stuff as well -->
2024-08-09 09:18:56 -07:00
<Import Project= "..\..\..\..\Common.Dotnet.CsWinRT.props" />
2024-08-08 07:29:21 -07:00
<Import Project= "..\..\..\..\Common.SelfContained.props" />
2024-08-05 06:32:05 -07:00
2023-05-15 23:32:26 +01:00
<PropertyGroup >
<OutputType > WinExe</OutputType>
<UseWindowsForms > true</UseWindowsForms>
<AppendTargetFrameworkToOutputPath > false</AppendTargetFrameworkToOutputPath>
<AppendRuntimeIdentifierToOutputPath > false</AppendRuntimeIdentifierToOutputPath>
<AssemblyName > PowerToys.MouseWithoutBordersHelper</AssemblyName>
<DisableWinExeOutputInference > true</DisableWinExeOutputInference>
<ImportWindowsDesktopTargets > true</ImportWindowsDesktopTargets>
2023-07-20 00:12:46 +01:00
<OutputPath > ..\..\..\..\..\$(Platform)\$(Configuration)</OutputPath>
2023-05-15 23:32:26 +01:00
<AllowUnsafeBlocks > true</AllowUnsafeBlocks>
2024-08-09 09:18:56 -07:00
<ApplicationIcon > ..\Logo.ico</ApplicationIcon>
<NoWin32Manifest > true</NoWin32Manifest>
2023-05-15 23:32:26 +01:00
</PropertyGroup>
<PropertyGroup Condition= "'$(Configuration)' == 'Debug'" >
<DefineConstants > MM_HELPER;TRACE;DEBUG;SHOW_ON_WINLOGON CODE_ANALYSIS CUSTOMIZE_LOGON_SCREEN</DefineConstants>
<UseVSHostingProcess > false</UseVSHostingProcess>
</PropertyGroup>
<PropertyGroup Condition= "'$(Configuration)' == 'Release'" >
<DefineConstants > MM_HELPER;TRACE;SHOW_ON_WINLOGON CODE_ANALYSIS CUSTOMIZE_LOGON_SCREEN</DefineConstants>
<UseVSHostingProcess > false</UseVSHostingProcess>
2024-08-09 09:18:56 -07:00
<NoWarn />
2023-05-15 23:32:26 +01:00
</PropertyGroup>
2024-08-09 09:18:56 -07:00
2023-05-15 23:32:26 +01:00
<!-- See https://learn.microsoft.com/windows/apps/develop/platform/csharp - winrt/net - projection - from - cppwinrt - component for more info -->
<PropertyGroup >
<CsWinRTIncludes > PowerToys.GPOWrapper</CsWinRTIncludes>
<CsWinRTGeneratedFilesDir > $(OutDir)</CsWinRTGeneratedFilesDir>
<ErrorOnDuplicatePublishOutputFiles > false</ErrorOnDuplicatePublishOutputFiles>
</PropertyGroup>
2024-08-09 09:18:56 -07:00
2023-05-15 23:32:26 +01:00
<ItemGroup >
<Compile Remove= "Resources\**" />
2024-08-09 09:18:56 -07:00
<Compile Remove= "Service\**" />
2023-05-15 23:32:26 +01:00
<EmbeddedResource Remove= "Resources\**" />
2024-08-09 09:18:56 -07:00
<EmbeddedResource Remove= "Service\**" />
<ExcludeFromStyleCop Remove= "Service\**" />
2023-05-15 23:32:26 +01:00
<None Remove= "Resources\**" />
2024-08-09 09:18:56 -07:00
<None Remove= "Service\**" />
2023-05-15 23:32:26 +01:00
</ItemGroup>
<ItemGroup >
<Compile Include= "..\Class\IClipboardHelper.cs" >
<Link > IClipboardHelper.cs</Link>
</Compile>
</ItemGroup>
<ItemGroup >
<None Update= "MouseWithoutBordersHelper.exe.manifest" >
<CopyToOutputDirectory > PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup >
<PackageReference Include= "Microsoft.Windows.Compatibility" />
<PackageReference Include= "StreamJsonRpc" />
2024-01-23 15:27:10 +00:00
<PackageReference Include= "System.Data.SqlClient" /> <!-- It's a dependency of Microsoft.Windows.Compatibility. We're adding it here to force it to the version specified in Directory.Packages.props -->
2023-05-15 23:32:26 +01:00
</ItemGroup>
<ItemGroup >
<ProjectReference Include= "..\..\..\..\common\GPOWrapper\GPOWrapper.vcxproj" />
<ProjectReference Include= "..\..\..\..\settings-ui\Settings.UI.Library\Settings.UI.Library.csproj" />
</ItemGroup>
<PropertyGroup >
<AllowUnsafeBlocks > True</AllowUnsafeBlocks>
</PropertyGroup>
</Project>