2022-01-18 15:52:22 +01:00
<Project Sdk= "Microsoft.NET.Sdk" >
2021-06-09 10:46:19 +01:00
<Import Project= "..\..\..\..\Version.props" />
<PropertyGroup >
2023-11-22 12:46:59 -05:00
<TargetFramework > net8.0-windows</TargetFramework>
2021-06-09 10:46:19 +01:00
<ProjectGuid > {BB23A474-5058-4F75-8FA3-5FE3DE53CDF4}</ProjectGuid>
<AppDesignerFolder > Properties</AppDesignerFolder>
<RootNamespace > Community.PowerToys.Run.Plugin.UnitConverter</RootNamespace>
<AssemblyName > Community.PowerToys.Run.Plugin.UnitConverter</AssemblyName>
<Version > $(Version).0</Version>
<useWPF > true</useWPF>
<AppendTargetFrameworkToOutputPath > false</AppendTargetFrameworkToOutputPath>
<AppendRuntimeIdentifierToOutputPath > false</AppendRuntimeIdentifierToOutputPath>
2022-05-19 14:02:08 +01:00
<GenerateSatelliteAssembliesForCore > true</GenerateSatelliteAssembliesForCore>
2023-07-20 00:12:46 +01:00
<OutputPath > ..\..\..\..\..\$(Platform)\$(Configuration)\RunPlugins\UnitConverter\</OutputPath>
2021-06-09 10:46:19 +01:00
</PropertyGroup>
2022-04-21 04:59:43 -04:00
<PropertyGroup Condition= "'$(Configuration)'=='Debug'" >
2021-06-09 10:46:19 +01:00
<DebugSymbols > true</DebugSymbols>
<DefineConstants > DEBUG;TRACE</DefineConstants>
<DebugType > full</DebugType>
<Optimize > false</Optimize>
</PropertyGroup>
2022-04-21 04:59:43 -04:00
<PropertyGroup Condition= "'$(Configuration)'=='Release'" >
2021-06-09 10:46:19 +01:00
<DefineConstants > TRACE</DefineConstants>
<Optimize > true</Optimize>
<DebugType > pdbonly</DebugType>
</PropertyGroup>
<ItemGroup >
<ProjectReference Include= "..\..\Wox.Infrastructure\Wox.Infrastructure.csproj" >
<Private > false</Private>
</ProjectReference>
<ProjectReference Include= "..\..\Wox.Plugin\Wox.Plugin.csproj" >
<Private > false</Private>
</ProjectReference>
</ItemGroup>
<ItemGroup >
<None Include= "plugin.json" >
<CopyToOutputDirectory > PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup >
2023-02-13 12:10:33 -05:00
<PackageReference Include= "UnitsNet" />
2024-01-11 16:11:32 +00:00
<PackageReference Include= "System.Diagnostics.EventLog" >
<!-- This package is a dependency of Microsoft.Extensions.Logging.EventLog, 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>
2021-06-09 10:46:19 +01:00
</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>
<ItemGroup >
<None Update= "Images\unitconverter.light.png" >
<CopyToOutputDirectory > PreserveNewest</CopyToOutputDirectory>
</None>
<None Update= "Images\unitconverter.dark.png" >
<CopyToOutputDirectory > PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
2022-12-01 09:40:41 -05:00
2021-06-09 10:46:19 +01:00
</Project>