mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-02-24 04:00:02 +01:00
Fixed 23 csproj files where OutputPath incorrectly included '..\' instead of ''. This was caused by the regex replacement not properly accounting for files that were 5 levels deep in the directory structure.
87 lines
4.2 KiB
XML
87 lines
4.2 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<!-- Look at Directory.Build.props in root for common stuff as well -->
|
|
<Import Project="$(RepoRoot)src\Common.Dotnet.CsWinRT.props" />
|
|
<Import Project="$(RepoRoot)src\Common.SelfContained.props" />
|
|
|
|
<PropertyGroup>
|
|
<ImplicitUsings>true</ImplicitUsings>
|
|
<OutputType>WinExe</OutputType>
|
|
<UseWindowsForms>true</UseWindowsForms>
|
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
|
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
|
|
<AssemblyName>PowerToys.MouseWithoutBordersService</AssemblyName>
|
|
<DisableWinExeOutputInference>true</DisableWinExeOutputInference>
|
|
<ImportWindowsDesktopTargets>true</ImportWindowsDesktopTargets>
|
|
<OutputPath>$(RepoRoot)$(Platform)\$(Configuration)</OutputPath>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
<ApplicationIcon>..\Logo.ico</ApplicationIcon>
|
|
<NoWin32Manifest>true</NoWin32Manifest>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
|
|
<DefineConstants>TRACE;DEBUG;SHOW_ON_WINLOGON CODE_ANALYSIS CUSTOMIZE_LOGON_SCREEN</DefineConstants>
|
|
<UseVSHostingProcess>false</UseVSHostingProcess>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
|
|
<DefineConstants>TRACE;SHOW_ON_WINLOGON CODE_ANALYSIS CUSTOMIZE_LOGON_SCREEN</DefineConstants>
|
|
<UseVSHostingProcess>false</UseVSHostingProcess>
|
|
<NoWarn />
|
|
</PropertyGroup>
|
|
|
|
<!-- 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>
|
|
<ItemGroup>
|
|
<Compile Remove="Class\**" />
|
|
<Compile Remove="Control\**" />
|
|
<Compile Remove="Exceptions\**" />
|
|
<Compile Remove="Form\**" />
|
|
<Compile Remove="Helper\**" />
|
|
<Compile Remove="Icon\**" />
|
|
<Compile Remove="Logo\**" />
|
|
<Compile Remove="Service\**" />
|
|
<EmbeddedResource Remove="Class\**" />
|
|
<EmbeddedResource Remove="Control\**" />
|
|
<EmbeddedResource Remove="Exceptions\**" />
|
|
<EmbeddedResource Remove="Form\**" />
|
|
<EmbeddedResource Remove="Helper\**" />
|
|
<EmbeddedResource Remove="Icon\**" />
|
|
<EmbeddedResource Remove="Logo\**" />
|
|
<EmbeddedResource Remove="Service\**" />
|
|
<None Remove="Class\**" />
|
|
<None Remove="Control\**" />
|
|
<None Remove="Exceptions\**" />
|
|
<None Remove="Form\**" />
|
|
<None Remove="Helper\**" />
|
|
<None Remove="Icon\**" />
|
|
<None Remove="Logo\**" />
|
|
<None Remove="Service\**" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<!-- Including MessagePack to force version, since it's used by StreamJsonRpc but contains vulnerabilities. After StreamJsonRpc updates the version of MessagePack, we can upgrade StreamJsonRpc instead. -->
|
|
<PackageReference Include="MessagePack" />
|
|
<PackageReference Include="Microsoft.Windows.Compatibility" />
|
|
<!-- HACK: To align Microsoft.Bcl.AsyncInterfaces.dll version with Advanced Paste version (from the Semantic Kernel dependency). -->
|
|
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" />
|
|
<PackageReference Include="Microsoft.Extensions.DependencyInjection" />
|
|
<PackageReference Include="Microsoft.Extensions.Hosting" />
|
|
<PackageReference Include="Microsoft.Extensions.Logging" />
|
|
<PackageReference Include="Microsoft.Extensions.Hosting.WindowsServices" />
|
|
<PackageReference Include="StreamJsonRpc" />
|
|
<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 -->
|
|
<!-- HACK: To make sure the version pulled in by Microsoft.Extensions.Hosting is current. -->
|
|
<PackageReference Include="System.Text.Json" />
|
|
</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>
|
|
|