39 lines
1.8 KiB
XML
39 lines
1.8 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<OutputType>WinExe</OutputType>
|
|
<TargetFramework>net8.0-windows</TargetFramework>
|
|
<UseWPF>true</UseWPF>
|
|
<Nullable>enable</Nullable>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<ApplicationIcon Condition="Exists('assets\\AmiReel.ico')">assets\AmiReel.ico</ApplicationIcon>
|
|
<AssemblyName>AmiReel</AssemblyName>
|
|
<RootNamespace>AmigaDB.VideoRenderer</RootNamespace>
|
|
<Product>AmiReel</Product>
|
|
<Title>AmiReel</Title>
|
|
<Version>0.1.0</Version>
|
|
<PublishSingleFile>true</PublishSingleFile>
|
|
<SelfContained>true</SelfContained>
|
|
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
|
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
|
|
<EnableCompressionInSingleFile>true</EnableCompressionInSingleFile>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Remove="AmiReel.WinUI\**\*.cs" />
|
|
<EmbeddedResource Remove="AmiReel.WinUI\**\*" />
|
|
<None Remove="AmiReel.WinUI\**\*" />
|
|
<Page Remove="AmiReel.WinUI\**\*.xaml" />
|
|
<ApplicationDefinition Remove="AmiReel.WinUI\App.xaml" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<EmbeddedResource Include="ThirdParty\ffmpeg.exe" Condition="Exists('ThirdParty\ffmpeg.exe')" LogicalName="AmigaDB.VideoRenderer.Tools.ffmpeg.exe" />
|
|
<EmbeddedResource Include="ThirdParty\ffprobe.exe" Condition="Exists('ThirdParty\ffprobe.exe')" LogicalName="AmigaDB.VideoRenderer.Tools.ffprobe.exe" />
|
|
</ItemGroup>
|
|
|
|
<Target Name="RequireFfmpegForPublish" BeforeTargets="Publish">
|
|
<Error Condition="!Exists('ThirdParty\ffmpeg.exe')" Text="ThirdParty\ffmpeg.exe is required for a portable publish." />
|
|
<Error Condition="!Exists('ThirdParty\ffprobe.exe')" Text="ThirdParty\ffprobe.exe is required for a portable publish." />
|
|
</Target>
|
|
</Project>
|