mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-11 17:59:17 +00:00
111 lines
5.5 KiB
XML
111 lines
5.5 KiB
XML
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
|
|
<PropertyGroup>
|
|
<OutputType>Library</OutputType>
|
|
<TargetFramework>net462</TargetFramework>
|
|
<RootNamespace>QuickLook.Plugin.VideoViewer</RootNamespace>
|
|
<AssemblyName>QuickLook.Plugin.VideoViewer</AssemblyName>
|
|
<FileAlignment>512</FileAlignment>
|
|
<UseWPF>true</UseWPF>
|
|
<UseWindowsForms>true</UseWindowsForms>
|
|
<LangVersion>latest</LangVersion>
|
|
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
|
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
|
<GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>
|
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
|
<ProjectGuid>{1B746D92-49A5-4A37-9D75-DCC490393290}</ProjectGuid>
|
|
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<OutputPath>..\..\Build\Debug\QuickLook.Plugin\QuickLook.Plugin.VideoViewer\</OutputPath>
|
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
<DebugType>full</DebugType>
|
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
|
<OutputPath>..\..\Build\Release\QuickLook.Plugin\QuickLook.Plugin.VideoViewer\</OutputPath>
|
|
<DefineConstants>TRACE</DefineConstants>
|
|
<Optimize>true</Optimize>
|
|
<DebugType>pdbonly</DebugType>
|
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="QuickLook.WPFMediaKit" Version="2.3.0" />
|
|
<PackageReference Include="MediaInfo.Wrapper" Version="21.9.3">
|
|
<Aliases>MediaInfoWrapper</Aliases>
|
|
</PackageReference>
|
|
<PackageReference Include="MediaInfoDLL" Version="24.12.0">
|
|
<Aliases>MediaInfoDLL</Aliases>
|
|
</PackageReference>
|
|
<Reference Include="WindowsBase" />
|
|
<Reference Include="DirectShowLib-2005, Version=2.1.0.26626, Culture=neutral, PublicKeyToken=67e7b740cdfc2d3f, processorArchitecture=MSIL">
|
|
<SpecificVersion>False</SpecificVersion>
|
|
</Reference>
|
|
<PackageReference Include="UTF.Unknown" Version="2.5.1" />
|
|
<PackageReference Include="Melanchall.DryWetMidi" Version="7.2.0" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\QuickLook.Common\QuickLook.Common.csproj">
|
|
<Project>{85FDD6BA-871D-46C8-BD64-F6BB0CB5EA95}</Project>
|
|
<Name>QuickLook.Common</Name>
|
|
<Private>False</Private>
|
|
</ProjectReference>
|
|
<!-- Keep QuickLook reference here for glassLayer:GlassLayer testing -->
|
|
<!--<ProjectReference Include="..\..\QuickLook\QuickLook.csproj">
|
|
<Project>{8B4A9CE5-67B5-4A94-81CB-3771F688FDEB}</Project>
|
|
<Name>QuickLook</Name>
|
|
<Private>False</Private>
|
|
</ProjectReference>-->
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Content Include="LAVFilters-x64\**">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="LAVFilters-x86\**">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="$(NuGetPackageRoot)\MediaInfoDLL\24.12.0\lib\netstandard2.0\x64\MediaInfo.dll">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
<DestinationFolder>$(OutDir)MediaInfo-x64\</DestinationFolder>
|
|
<Link>MediaInfo-x64\MediaInfo.dll</Link>
|
|
</Content>
|
|
<Content Include="$(NuGetPackageRoot)\MediaInfoDLL\24.12.0\lib\netstandard2.0\x86\MediaInfo.dll">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
<DestinationFolder>$(OutDir)MediaInfo-x86\</DestinationFolder>
|
|
<Link>MediaInfo-x86\MediaInfo.dll</Link>
|
|
</Content>
|
|
<!--<Content Include="$(NuGetPackageRoot)\MediaInfoDLL\24.12.0\lib\netstandard2.0\arm64\MediaInfo.dll">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
<DestinationFolder>$(OutDir)MediaInfo-ARM64\</DestinationFolder>
|
|
<Link>MediaInfo-ARM64\MediaInfo.dll</Link>
|
|
</Content>-->
|
|
<Content Include="LibVlc\**">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
<Resource Include="Resources\empty.png" />
|
|
</ItemGroup>
|
|
|
|
<Target Name="ReduceReleasePackaging" AfterTargets="Build" Condition="'$(Configuration)' == 'Release'">
|
|
<Delete Files="$(OutputPath)\Melanchall_DryWetMidi_Native64.dylib" Condition="Exists('$(OutputPath)\Melanchall_DryWetMidi_Native64.dylib')" />
|
|
<!-- Keep MediaInfoDLL.dll for MediaInfoViewer to read the translations -->
|
|
<Delete Files="$(OutputPath)\MediaInfoDLL.dll" Condition="Exists('$(OutputPath)\MediaInfoDLL.dll')" />
|
|
<!-- MediaInfoDLL will copy the MediaInfo.dll file according to the architecture, we do not use this usage so delete it manually -->
|
|
<Delete Files="$(OutputPath)\MediaInfo.dll" Condition="Exists('$(OutputPath)\MediaInfo.dll')" />
|
|
</Target>
|
|
|
|
<ItemGroup>
|
|
<Compile Include="..\..\GitVersion.cs">
|
|
<Link>Properties\GitVersion.cs</Link>
|
|
</Compile>
|
|
</ItemGroup>
|
|
|
|
</Project>
|