Dedup some project file stuff
This commit is contained in:
parent
69d65009a0
commit
b1b06cc04a
|
@ -5,13 +5,11 @@
|
|||
<Import Project="../MainSlnExecutable.props" />
|
||||
<PropertyGroup>
|
||||
<ApplicationIcon>discohawk.ico</ApplicationIcon>
|
||||
<DefineConstants>$(DefineConstants);EXE_PROJECT</DefineConstants>
|
||||
<Nullable>disable</Nullable>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<ProjectReference Include="$(ProjectDir)../BizHawk.Emulation.DiscSystem/BizHawk.Emulation.DiscSystem.csproj" />
|
||||
<Compile Include="$(ProjectDir)../BizHawk.Common/OSTailoredCode.cs" />
|
||||
<Content Include="discohawk.ico" />
|
||||
<EmbeddedResource Include="discohawk.ico" />
|
||||
</ItemGroup>
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
<ApplicationIcon>images/logo.ico</ApplicationIcon>
|
||||
<ApplicationManifest>app.manifest</ApplicationManifest>
|
||||
<DefineConstants>$(DefineConstants);EXE_PROJECT</DefineConstants>
|
||||
<Nullable>disable</Nullable>
|
||||
<ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>None</ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>
|
||||
</PropertyGroup>
|
||||
|
@ -24,7 +23,6 @@
|
|||
<ItemGroup>
|
||||
<ProjectReference Include="$(ProjectDir)../BizHawk.Bizware.DirectX/BizHawk.Bizware.DirectX.csproj" />
|
||||
<ProjectReference Include="$(ProjectDir)../BizHawk.WinForms.Controls/BizHawk.WinForms.Controls.csproj" />
|
||||
<Compile Include="$(ProjectDir)../BizHawk.Common/OSTailoredCode.cs" />
|
||||
<Compile Remove="Properties/Settings.Designer.cs" />
|
||||
<Content Include="images/logo.ico" />
|
||||
<EmbeddedResource Include="images/**/*" />
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
<Project>
|
||||
<Import Project="MainSlnCommon.props" />
|
||||
<PropertyGroup>
|
||||
<DefineConstants>$(DefineConstants);EXE_PROJECT</DefineConstants>
|
||||
<OutputPath>$(ProjectDir)../../output</OutputPath>
|
||||
<TargetName>$(MSBuildProjectName.Substring($([MSBuild]::Add($(MSBuildProjectName.LastIndexOf('.')), 1))))</TargetName>
|
||||
</PropertyGroup>
|
||||
|
@ -10,6 +11,9 @@
|
|||
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
||||
<OutputType>WinExe</OutputType>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="$(ProjectDir)../BizHawk.Common/OSTailoredCode.cs" />
|
||||
</ItemGroup>
|
||||
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
|
||||
<ItemGroup>
|
||||
<NotExecFilesFromExecProj Include="$(OutputPath)*.deps.json" />
|
||||
|
|
Loading…
Reference in New Issue