22 lines
1.5 KiB
XML
22 lines
1.5 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<OutputType>WinExe</OutputType>
|
|
<TargetFramework>net6.0-windows</TargetFramework>
|
|
<UseWindowsForms>true</UseWindowsForms>
|
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
|
<AssemblyName>$(MSBuildProjectName.Replace(".Net6", "").Replace("Novetus.", ""))</AssemblyName>
|
|
<RootNamespace>$(MSBuildProjectName.Replace(".Net6", ""))</RootNamespace>
|
|
<ApplicationIcon>NovetusIcon.ico</ApplicationIcon>
|
|
<BaseOutputPath>bin_net6\</BaseOutputPath>
|
|
<BaseIntermediateOutputPath>obj_net6\</BaseIntermediateOutputPath>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Compile Remove="Properties\AssemblyInfo.cs" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Content Include="NovetusIcon.ico" />
|
|
</ItemGroup>
|
|
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
|
|
<Exec Command="SET path=$(SolutionDir)build
if not exist "%25path%25" mkdir "%25path%25"
SET path2=%25path%25\net6
if not exist "%25path2%25" mkdir "%25path2%25
SET path3=%25path2%25\ClientScriptTester
if not exist "%25path3%25" mkdir "%25path3%25"
copy $(ProjectDir)$(OutDir) "%25path3%25"\*
del "%25path%25"\$(TargetName).vshost.exe
del "%25path%25"\$(TargetName).vshost.exe.config
del "%25path%25"\$(TargetName).vshost.exe.manifest
del "%25path%25"\$(TargetName).xml" />
|
|
</Target>
|
|
</Project> |