38 lines
1.4 KiB
XML
38 lines
1.4 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<OutputType>Exe</OutputType>
|
|
<TargetFramework>net8.0</TargetFramework>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
<BaseOutputPath>build\StgSharpTerminalDialogue</BaseOutputPath>
|
|
<OutputPath>$(BaseOutputPath)</OutputPath>
|
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
|
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
|
|
<ProduceReferenceAssembly>True</ProduceReferenceAssembly>
|
|
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
|
|
<PlatformTarget>x64</PlatformTarget>
|
|
<SatelliteResourceLanguages>none</SatelliteResourceLanguages>
|
|
<Platforms>AnyCPU;x64</Platforms>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
<GenerateAssemblyInfo>False</GenerateAssemblyInfo>
|
|
</PropertyGroup>
|
|
|
|
<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
|
|
<Exec Command="rd /s /q $(ProjectDir)Build" />
|
|
</Target>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Terminal.Gui" Version="2.0.0-v2-develop.2329" />
|
|
</ItemGroup>
|
|
|
|
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
|
|
<Exec Command="rd /s /q $(SolutionDir)build\StgSharpTerminalDialogue" />
|
|
<Exec Command="xcopy /E /I /Y $(ProjectDir)build\StgSharpTerminalDialogue $(SolutionDir)build\StgSharpTerminalDialogue" />
|
|
|
|
</Target>
|
|
|
|
</Project>
|