Files
QuickLook/QuickLook.Plugin/QuickLook.Plugin.VideoViewer/QuickLook.Plugin.VideoViewer.csproj
2025-05-21 11:06:05 +08:00

226 lines
14 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.LAVFilters" Version="0.79.2.1" />
<PackageReference Include="QuickLook.WPFMediaKit" Version="2.3.0" />
<PackageReference Include="MediaInfo.Wrapper" Version="21.9.3">
<Aliases>MediaInfoWrapper</Aliases>
</PackageReference>
<PackageReference Include="MediaInfoDLL" Version="25.4.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="8.0.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="$(NuGetPackageRoot)\QuickLook.LAVFilters\0.79.2.1\build\LAVFilters-x64\avcodec-lav-61.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<DestinationFolder>$(OutDir)\LAVFilters-x64\</DestinationFolder>
<Link>LAVFilters-x64\avcodec-lav-61.dll</Link>
</Content>
<Content Include="$(NuGetPackageRoot)\QuickLook.LAVFilters\0.79.2.1\build\LAVFilters-x64\avfilter-lav-10.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<DestinationFolder>$(OutDir)\LAVFilters-x64\</DestinationFolder>
<Link>LAVFilters-x64\avfilter-lav-10.dll</Link>
</Content>
<Content Include="$(NuGetPackageRoot)\QuickLook.LAVFilters\0.79.2.1\build\LAVFilters-x64\avformat-lav-61.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<DestinationFolder>$(OutDir)\LAVFilters-x64\</DestinationFolder>
<Link>LAVFilters-x64\avformat-lav-61.dll</Link>
</Content>
<Content Include="$(NuGetPackageRoot)\QuickLook.LAVFilters\0.79.2.1\build\LAVFilters-x64\avutil-lav-59.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<DestinationFolder>$(OutDir)\LAVFilters-x64\</DestinationFolder>
<Link>LAVFilters-x64\avutil-lav-59.dll</Link>
</Content>
<Content Include="$(NuGetPackageRoot)\QuickLook.LAVFilters\0.79.2.1\build\LAVFilters-x64\IntelQuickSyncDecoder.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<DestinationFolder>$(OutDir)\LAVFilters-x64\</DestinationFolder>
<Link>LAVFilters-x64\IntelQuickSyncDecoder.dll</Link>
</Content>
<Content Include="$(NuGetPackageRoot)\QuickLook.LAVFilters\0.79.2.1\build\LAVFilters-x64\LAVAudio.ax">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<DestinationFolder>$(OutDir)\LAVFilters-x64\</DestinationFolder>
<Link>LAVFilters-x64\LAVAudio.ax</Link>
</Content>
<Content Include="$(NuGetPackageRoot)\QuickLook.LAVFilters\0.79.2.1\build\LAVFilters-x64\LAVFilters.Dependencies.manifest">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<DestinationFolder>$(OutDir)\LAVFilters-x64\</DestinationFolder>
<Link>LAVFilters-x64\LAVFilters.Dependencies.manifest</Link>
</Content>
<Content Include="$(NuGetPackageRoot)\QuickLook.LAVFilters\0.79.2.1\build\LAVFilters-x64\LAVSplitter.ax">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<DestinationFolder>$(OutDir)\LAVFilters-x64\</DestinationFolder>
<Link>LAVFilters-x64\LAVSplitter.ax</Link>
</Content>
<Content Include="$(NuGetPackageRoot)\QuickLook.LAVFilters\0.79.2.1\build\LAVFilters-x64\LAVVideo.ax">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<DestinationFolder>$(OutDir)\LAVFilters-x64\</DestinationFolder>
<Link>LAVFilters-x64\LAVVideo.ax</Link>
</Content>
<Content Include="$(NuGetPackageRoot)\QuickLook.LAVFilters\0.79.2.1\build\LAVFilters-x64\libbluray.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<DestinationFolder>$(OutDir)\LAVFilters-x64\</DestinationFolder>
<Link>LAVFilters-x64\libbluray.dll</Link>
</Content>
<Content Include="$(NuGetPackageRoot)\QuickLook.LAVFilters\0.79.2.1\build\LAVFilters-x64\swresample-lav-5.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<DestinationFolder>$(OutDir)\LAVFilters-x64\</DestinationFolder>
<Link>LAVFilters-x64\swresample-lav-5.dll</Link>
</Content>
<Content Include="$(NuGetPackageRoot)\QuickLook.LAVFilters\0.79.2.1\build\LAVFilters-x64\swscale-lav-8.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<DestinationFolder>$(OutDir)\LAVFilters-x64\</DestinationFolder>
<Link>LAVFilters-x64\swscale-lav-8.dll</Link>
</Content>
<Content Include="$(NuGetPackageRoot)\QuickLook.LAVFilters\0.79.2.1\build\LAVFilters-x86\avcodec-lav-61.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<DestinationFolder>$(OutDir)\LAVFilters-x86\</DestinationFolder>
<Link>LAVFilters-x86\avcodec-lav-61.dll</Link>
</Content>
<Content Include="$(NuGetPackageRoot)\QuickLook.LAVFilters\0.79.2.1\build\LAVFilters-x86\avfilter-lav-10.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<DestinationFolder>$(OutDir)\LAVFilters-x86\</DestinationFolder>
<Link>LAVFilters-x86\avfilter-lav-10.dll</Link>
</Content>
<Content Include="$(NuGetPackageRoot)\QuickLook.LAVFilters\0.79.2.1\build\LAVFilters-x86\avformat-lav-61.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<DestinationFolder>$(OutDir)\LAVFilters-x86\</DestinationFolder>
<Link>LAVFilters-x86\avformat-lav-61.dll</Link>
</Content>
<Content Include="$(NuGetPackageRoot)\QuickLook.LAVFilters\0.79.2.1\build\LAVFilters-x86\avutil-lav-59.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<DestinationFolder>$(OutDir)\LAVFilters-x86\</DestinationFolder>
<Link>LAVFilters-x86\avutil-lav-59.dll</Link>
</Content>
<Content Include="$(NuGetPackageRoot)\QuickLook.LAVFilters\0.79.2.1\build\LAVFilters-x86\IntelQuickSyncDecoder.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<DestinationFolder>$(OutDir)\LAVFilters-x86\</DestinationFolder>
<Link>LAVFilters-x86\IntelQuickSyncDecoder.dll</Link>
</Content>
<Content Include="$(NuGetPackageRoot)\QuickLook.LAVFilters\0.79.2.1\build\LAVFilters-x86\LAVAudio.ax">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<DestinationFolder>$(OutDir)\LAVFilters-x86\</DestinationFolder>
<Link>LAVFilters-x86\LAVAudio.ax</Link>
</Content>
<Content Include="$(NuGetPackageRoot)\QuickLook.LAVFilters\0.79.2.1\build\LAVFilters-x86\LAVFilters.Dependencies.manifest">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<DestinationFolder>$(OutDir)\LAVFilters-x86\</DestinationFolder>
<Link>LAVFilters-x86\LAVFilters.Dependencies.manifest</Link>
</Content>
<Content Include="$(NuGetPackageRoot)\QuickLook.LAVFilters\0.79.2.1\build\LAVFilters-x86\LAVSplitter.ax">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<DestinationFolder>$(OutDir)\LAVFilters-x86\</DestinationFolder>
<Link>LAVFilters-x86\LAVSplitter.ax</Link>
</Content>
<Content Include="$(NuGetPackageRoot)\QuickLook.LAVFilters\0.79.2.1\build\LAVFilters-x86\LAVVideo.ax">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<DestinationFolder>$(OutDir)\LAVFilters-x86\</DestinationFolder>
<Link>LAVFilters-x86\LAVVideo.ax</Link>
</Content>
<Content Include="$(NuGetPackageRoot)\QuickLook.LAVFilters\0.79.2.1\build\LAVFilters-x86\libbluray.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<DestinationFolder>$(OutDir)\LAVFilters-x86\</DestinationFolder>
<Link>LAVFilters-x86\libbluray.dll</Link>
</Content>
<Content Include="$(NuGetPackageRoot)\QuickLook.LAVFilters\0.79.2.1\build\LAVFilters-x86\swresample-lav-5.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<DestinationFolder>$(OutDir)\LAVFilters-x86\</DestinationFolder>
<Link>LAVFilters-x86\swresample-lav-5.dll</Link>
</Content>
<Content Include="$(NuGetPackageRoot)\QuickLook.LAVFilters\0.79.2.1\build\LAVFilters-x86\swscale-lav-8.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<DestinationFolder>$(OutDir)\LAVFilters-x86\</DestinationFolder>
<Link>LAVFilters-x86\swscale-lav-8.dll</Link>
</Content>
<Content Include="$(NuGetPackageRoot)\MediaInfoDLL\25.4.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\25.4.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\25.4.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>