mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-06-23 15:30:34 -04:00
40 lines
1.4 KiB
XML
40 lines
1.4 KiB
XML
<Project ToolsVersion="Current">
|
|
<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />
|
|
|
|
<PropertyGroup Condition="$(IsWindows) == true">
|
|
<OutputType>WinExe</OutputType>
|
|
<TargetFramework>net5.0-windows</TargetFramework>
|
|
<UseWindowsForms>true</UseWindowsForms>
|
|
<RootNamespace>Kyoo.WindowsHost</RootNamespace>
|
|
</PropertyGroup>
|
|
<ItemGroup Condition="$(IsWindows) == true">
|
|
<ProjectReference Include="../Kyoo.Core/Kyoo.Core.csproj" />
|
|
<ProjectReference Include="../Kyoo.Host.Console/Kyoo.Host.Console.csproj" Condition="$(IncludeConsole) == true" />
|
|
|
|
<None Remove="kyoo.ico" />
|
|
<Content Include="kyoo.ico">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
</ItemGroup>
|
|
|
|
<PropertyGroup Condition="$(IsWindows) != true">
|
|
<TargetFramework>net5.0</TargetFramework>
|
|
<NoWarn>NU1503</NoWarn>
|
|
</PropertyGroup>
|
|
|
|
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />
|
|
|
|
<Target Name="Build" Condition="$(IsWindows) != true">
|
|
<Message Importance="high" Text="Detected current operating system is not windows, skipping WindowsHost build." />
|
|
</Target>
|
|
<Target Name="Clean" Condition="$(IsWindows) != true" />
|
|
<Target Name="Pack" Condition="$(IsWindows) != true" />
|
|
<Target Name="Restore" Condition="$(IsWindows) != true" />
|
|
<Target Name="Publish" Condition="$(IsWindows) != true" />
|
|
|
|
<ItemGroup Condition="$(IsWindows) != true">
|
|
<None Include="@(Compile)" Visible="true" />
|
|
<Compile Remove="*" />
|
|
</ItemGroup>
|
|
</Project>
|