Extract .props for executable projects
This commit is contained in:
parent
da26a18bf5
commit
000e2af543
src
|
@ -1,12 +1,10 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<Import Project="../MainSlnCommon.props" />
|
||||
<Import Project="../MainSlnExecutable.props" />
|
||||
<PropertyGroup>
|
||||
<ApplicationIcon>discohawk.ico</ApplicationIcon>
|
||||
<DefineConstants>$(DefineConstants);WINDOWS</DefineConstants>
|
||||
<OutputPath>$(ProjectDir)../../output</OutputPath>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net48</TargetFramework>
|
||||
<TargetName>DiscoHawk</TargetName>
|
||||
</PropertyGroup>
|
||||
<!--
|
||||
<PropertyGroup>
|
||||
|
|
|
@ -1,21 +1,14 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<Import Project="../MainSlnCommon.props" />
|
||||
<Import Project="../MainSlnExecutable.props" />
|
||||
<PropertyGroup>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
<ApplicationIcon>images/logo.ico</ApplicationIcon>
|
||||
<ApplicationManifest>app.manifest</ApplicationManifest>
|
||||
<DefineConstants>$(DefineConstants);EXE_PROJECT</DefineConstants>
|
||||
<OutputPath>$(ProjectDir)../../output</OutputPath>
|
||||
<TargetFramework>net48</TargetFramework>
|
||||
<TargetName>EmuHawk</TargetName>
|
||||
<ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>None</ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
||||
<OutputType>Exe</OutputType>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
||||
<OutputType>WinExe</OutputType>
|
||||
</PropertyGroup>
|
||||
<!--
|
||||
<PropertyGroup>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
<Project>
|
||||
<PropertyGroup>
|
||||
<OutputPath>$(ProjectDir)../../output</OutputPath>
|
||||
<TargetName>$(MSBuildProjectName.Substring($([MSBuild]::Add($(MSBuildProjectName.LastIndexOf('.')), 1))))</TargetName>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
||||
<OutputType>Exe</OutputType>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
||||
<OutputType>WinExe</OutputType>
|
||||
</PropertyGroup>
|
||||
</Project>
|
Loading…
Reference in New Issue