livebook/elixirkit/demo/rel/winforms/Demo.csproj
2023-10-14 15:04:03 +02:00

24 lines
827 B
XML

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType Condition="'$(Configuration)' == 'Debug'">Exe</OutputType>
<OutputType Condition="'$(Configuration)' == 'Release'">WinExe</OutputType>
<TargetFramework>net6.0-windows</TargetFramework>
<Nullable>enable</Nullable>
<UseWindowsForms>true</UseWindowsForms>
<ImplicitUsings>enable</ImplicitUsings>
<EnableWindowsTargeting>true</EnableWindowsTargeting>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="../../../elixirkit_dotnet/ElixirKit.csproj" />
</ItemGroup>
<Target Name="ReleaseMixProject" BeforeTargets="Build">
<Exec
Command="mix release --overwrite --path=$(MSBuildProjectDirectory)/$(OutDir)/rel"
EnvironmentVariables="MIX_ENV=prod"
WorkingDirectory="../.." />
</Target>
</Project>