2022-12-01 09:40:41 -05:00
<Project Sdk= "Microsoft.NET.Sdk" >
2022-06-15 10:15:58 -07:00
<Import Project= "..\..\..\..\Version.props" />
<PropertyGroup >
2023-11-22 12:46:59 -05:00
<TargetFramework > net8.0-windows</TargetFramework>
2022-06-15 10:15:58 -07:00
<RootNamespace > Microsoft.PowerToys.Run.Plugin.OneNote</RootNamespace>
<AssemblyName > Microsoft.PowerToys.Run.Plugin.OneNote</AssemblyName>
<ImplicitUsings > enable</ImplicitUsings>
<Version > $(Version).0</Version>
<AppendTargetFrameworkToOutputPath > false</AppendTargetFrameworkToOutputPath>
<AppendRuntimeIdentifierToOutputPath > false</AppendRuntimeIdentifierToOutputPath>
<GenerateSatelliteAssembliesForCore > true</GenerateSatelliteAssembliesForCore>
<Nullable > enable</Nullable>
2023-07-20 00:12:46 +01:00
<OutputPath > ..\..\..\..\..\$(Platform)\$(Configuration)\RunPlugins\OneNote\</OutputPath>
2022-06-15 10:15:58 -07:00
</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>
2022-12-01 09:40:41 -05:00
<PropertyGroup >
<NoWarn > 8981</NoWarn>
</PropertyGroup>
2022-06-15 10:15:58 -07:00
<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= "Interop.Microsoft.Office.Interop.OneNote" />
<PackageReference Include= "LazyCache" />
<PackageReference Include= "Microsoft.Windows.CsWin32" >
2022-06-15 10:15:58 -07:00
<PrivateAssets > all</PrivateAssets>
<IncludeAssets > runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
2023-02-13 12:10:33 -05:00
<PackageReference Include= "ScipBe.Common.Office.OneNote" />
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>
2022-06-15 10:15:58 -07:00
</ItemGroup>
<ItemGroup >
<Compile Update= "Properties\Resources.Designer.cs" >
<DesignTime > True</DesignTime>
<AutoGen > True</AutoGen>
<DependentUpon > Resources.resx</DependentUpon>
</Compile>
<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 > ResXFileCodeGenerator</Generator>
<LastGenOutput > Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Update= "Properties\Resources.resx" >
<Generator > ResXFileCodeGenerator</Generator>
<LastGenOutput > Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
<ItemGroup >
<None Update= "Images\oneNote.dark.png" >
<CopyToOutputDirectory > PreserveNewest</CopyToOutputDirectory>
</None>
<None Update= "Images\oneNote.light.png" >
<CopyToOutputDirectory > PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
2022-12-01 09:40:41 -05:00
2022-06-15 10:15:58 -07:00
</Project>