mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-11 05:52:19 +02:00
* Fix System.Drawing.Common version conflicts * Fix System.Data.OleDb dependencies * Fix System.Diagnostics.EventLog dll version incompatibility * Fix System.CodeDom dll version incompatibility * Update NOTICE.md
106 lines
5.6 KiB
XML
106 lines
5.6 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<Import Project="..\..\..\..\Version.props" />
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net8.0-windows10.0.20348.0</TargetFramework>
|
|
<TargetPlatformMinVersion>10.0.19041.0</TargetPlatformMinVersion>
|
|
<SupportedOSPlatformVersion>10.0.19041.0</SupportedOSPlatformVersion>
|
|
<ProjectGuid>{212AD910-8488-4036-BE20-326931B75FB2}</ProjectGuid>
|
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
<RootNamespace>Microsoft.PowerToys.Run.Plugin.History</RootNamespace>
|
|
<AssemblyName>Microsoft.PowerToys.Run.Plugin.History</AssemblyName>
|
|
<Version>$(Version).0</Version>
|
|
<useWPF>true</useWPF>
|
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
|
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
|
|
<GenerateSatelliteAssembliesForCore>true</GenerateSatelliteAssembliesForCore>
|
|
<OutputPath>..\..\..\..\..\$(Platform)\$(Configuration)\RunPlugins\History\</OutputPath>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)'=='Debug'">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
<DebugType>full</DebugType>
|
|
<Optimize>false</Optimize>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)'=='Release'">
|
|
<DefineConstants>TRACE</DefineConstants>
|
|
<Optimize>true</Optimize>
|
|
<DebugType>pdbonly</DebugType>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<None Include="plugin.json">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</None>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\PowerLauncher\PowerLauncher.csproj">
|
|
<Private>False</Private>
|
|
<CopyLocalSatelliteAssemblies>False</CopyLocalSatelliteAssemblies>
|
|
</ProjectReference>
|
|
<ProjectReference Include="..\..\Wox.Infrastructure\Wox.Infrastructure.csproj">
|
|
<Private>false</Private>
|
|
</ProjectReference>
|
|
<ProjectReference Include="..\..\Wox.Plugin\Wox.Plugin.csproj">
|
|
<Private>false</Private>
|
|
</ProjectReference>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Mages" />
|
|
<PackageReference Include="Microsoft.Windows.CsWinRT" />
|
|
<PackageReference Include="System.Drawing.Common">
|
|
<ExcludeAssets>runtime</ExcludeAssets> <!-- Should already be present on .net sdk runtime, so we avoid the conflicting runtime version from nuget -->
|
|
</PackageReference>
|
|
<PackageReference Include="System.Configuration.ConfigurationManager">
|
|
<!-- This package is a dependency of System.Data.OleDb, but we need to set it here so we can exclude the assets, so it doesn't conflict with the 8.0.1 dll coming from .NET SDK. -->
|
|
<ExcludeAssets>runtime</ExcludeAssets> <!-- Should already be present on .net sdk runtime, so we avoid the conflicting runtime version from nuget -->
|
|
</PackageReference>
|
|
<PackageReference Include="System.Diagnostics.EventLog">
|
|
<!-- This package is a dependency of System.Data.OleDb, but we need to set it here so we can exclude the assets, so it doesn't conflict with the 8.0.1 dll coming from .NET SDK. -->
|
|
<ExcludeAssets>runtime</ExcludeAssets> <!-- Should already be present on .net sdk runtime, so we avoid the conflicting runtime version from nuget -->
|
|
</PackageReference>
|
|
<PackageReference Include="System.Diagnostics.PerformanceCounter">
|
|
<!-- This package is a dependency of System.Data.OleDb, but we need to set it here so we can exclude the assets, so it doesn't conflict with the 8.0.1 dll coming from .NET SDK. -->
|
|
<ExcludeAssets>runtime</ExcludeAssets> <!-- Should already be present on .net sdk runtime, so we avoid the conflicting runtime version from nuget -->
|
|
</PackageReference>
|
|
<PackageReference Include="System.Security.Cryptography.ProtectedData">
|
|
<!-- This package is a dependency of System.Data.OleDb, but we need to set it here so we can exclude the assets, so it doesn't conflict with the 8.0.1 dll coming from .NET SDK. -->
|
|
<ExcludeAssets>runtime</ExcludeAssets> <!-- Should already be present on .net sdk runtime, so we avoid the conflicting runtime version from nuget -->
|
|
</PackageReference>
|
|
<PackageReference Include="Microsoft.Win32.SystemEvents">
|
|
<!-- This package is a dependency of System.Drawing.Common, but we need to set it here so we can exclude the assets, so it doesn't conflict with the 8.0.1 dll coming from .NET SDK. -->
|
|
<ExcludeAssets>runtime</ExcludeAssets> <!-- Should already be present on .net sdk runtime, so we avoid the conflicting runtime version from nuget -->
|
|
</PackageReference>
|
|
<PackageReference Include="System.CodeDom">
|
|
<!-- This package is a dependency of System.Management, but we need to set it here so we can exclude the assets, so it doesn't conflict with the 8.0.1 dll coming from .NET SDK. -->
|
|
<ExcludeAssets>runtime</ExcludeAssets> <!-- Should already be present on .net sdk runtime, so we avoid the conflicting runtime version from nuget -->
|
|
</PackageReference>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<None Update="Images\history.dark.png">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</None>
|
|
<None Update="Images\history.light.png">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</None>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Update="Properties\Resources.Designer.cs">
|
|
<DesignTime>True</DesignTime>
|
|
<AutoGen>True</AutoGen>
|
|
<DependentUpon>Resources.resx</DependentUpon>
|
|
</Compile>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<EmbeddedResource Update="Properties\Resources.resx">
|
|
<Generator>PublicResXFileCodeGenerator</Generator>
|
|
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
|
</EmbeddedResource>
|
|
</ItemGroup>
|
|
</Project> |