27 lines
789 B
XML
27 lines
789 B
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<OutputType>WinExe</OutputType>
|
|
<TargetFramework>net6.0-windows</TargetFramework>
|
|
<Nullable>enable</Nullable>
|
|
<UseWPF>true</UseWPF>
|
|
<UseWindowsForms>true</UseWindowsForms>
|
|
<ApplicationIcon>Topuino.ico</ApplicationIcon>
|
|
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<Content Include="Topuino.ico" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
|
|
<PackageReference Include="System.IO.Ports" Version="6.0.0" />
|
|
</ItemGroup>
|
|
|
|
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
|
|
<Exec Command="xcopy "$(ProjectDir)Topuino.ico" "$(ProjectDir)$(OutDir)" /y /f" />
|
|
</Target>
|
|
|
|
</Project>
|