47 lines
3.4 KiB
XML
47 lines
3.4 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<OutputType>WinExe</OutputType>
|
|
<TargetFramework>net6.0-windows</TargetFramework>
|
|
<UseWindowsForms>true</UseWindowsForms>
|
|
<UseWpf>true</UseWpf>
|
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
|
<AssemblyName>$(MSBuildProjectName.Replace(".Net6", "").Replace(".Launcher", ""))</AssemblyName>
|
|
<RootNamespace>$(MSBuildProjectName.Replace(".Net6", "").Replace(".", ""))</RootNamespace>
|
|
<ApplicationIcon>NovetusIcon.ico</ApplicationIcon>
|
|
<BaseOutputPath>bin_net6\</BaseOutputPath>
|
|
<BaseIntermediateOutputPath>obj_net6\</BaseIntermediateOutputPath>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
|
<DefineConstants>$(DefineConstants);LAUNCHER;NOVETUS_APPS</DefineConstants>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
|
<DefineConstants>$(DefineConstants);LAUNCHER;NOVETUS_APPS</DefineConstants>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Compile Remove="Properties\AssemblyInfo.cs" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Include="..\NovetusCore\CharCustom\CharacterCustomizationShared.cs" Link="Forms\CharCustom\CharacterCustomizationShared.cs" />
|
|
<Compile Include="..\NovetusCore\CharCustom\Forms\Compact\CharacterCustomizationCompact.cs" Link="Forms\CharCustom\Compact\CharacterCustomizationCompact.cs" />
|
|
<Compile Include="..\NovetusCore\CharCustom\Forms\Compact\CharacterCustomizationCompact.Designer.cs" Link="Forms\CharCustom\Compact\CharacterCustomizationCompact.Designer.cs" />
|
|
<Compile Include="..\NovetusCore\CharCustom\Forms\Extended\CharacterCustomizationExtended.cs" Link="Forms\CharCustom\Extended\CharacterCustomizationExtended.cs" />
|
|
<Compile Include="..\NovetusCore\CharCustom\Forms\Extended\CharacterCustomizationExtended.Designer.cs" Link="Forms\CharCustom\Extended\CharacterCustomizationExtended.Designer.cs" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Content Include="NovetusIcon.ico" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<PackageReference Include="DotNetZip" Version="1.16.0" />
|
|
<PackageReference Include="Mono.Nat" Version="1.2.24" />
|
|
<PackageReference Include="NLog" Version="5.0.5" />
|
|
<PackageReference Include="System.Management" Version="6.0.0" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Folder Include="Forms\CharCustom\Compact\" />
|
|
<Folder Include="Forms\CharCustom\Extended\" />
|
|
</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\Launcher
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
if not exist "%25path2%25"\bin mkdir "%25path2%25"\bin
move "%25path3%25"\* "%25path2%25"\bin
rd /s /q "%25path3%25"" />
|
|
</Target>
|
|
<Import Project="..\NovetusCore\NovetusCore.projitems" Label="Shared" />
|
|
</Project> |