Merge pull request #12221 from entropai/bleed
Reverted build dirs in CSPROJ and removed the unneeded Afterbuild
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<OutputPath>bin\Debug</OutputPath>
|
||||
<OutputPath>..</OutputPath>
|
||||
<DefineConstants>TRACE;DEBUG</DefineConstants>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
@@ -45,7 +45,7 @@
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<OutputPath>bin\Release</OutputPath>
|
||||
<OutputPath>..</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
@@ -338,29 +338,5 @@
|
||||
<ItemGroup>
|
||||
<Content Include="OpenRA.ico" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<Target Name="AfterBuild">
|
||||
<Copy
|
||||
SourceFiles="$(TargetPath)"
|
||||
DestinationFolder="$(SolutionDir)"/>
|
||||
<!--
|
||||
We need to copy OpenRA.Game.pdb (not `.dll.pdb`). This is only necessary on Windows.
|
||||
Mono outputs a `.dll.mdb` so we can just append `.mdb` directly.
|
||||
-->
|
||||
<Copy
|
||||
SourceFiles="$(TargetDir)$(TargetName).pdb"
|
||||
DestinationFolder="$(SolutionDir)"
|
||||
Condition="'$(OS)' == 'Windows_NT'"/>
|
||||
<Copy
|
||||
SourceFiles="$(TargetPath).mdb"
|
||||
DestinationFolder="$(SolutionDir)"
|
||||
Condition="'$(OS)' == 'Unix'"/>
|
||||
<!-- Uncomment these lines when debugging or adding to this target
|
||||
<Message Text="DEBUG OS: $(OS)"/>
|
||||
<Message Text="DEBUG SolutionDir: $(SolutionDir)"/>
|
||||
<Message Text="DEBUG TargetPath: $(TargetPath)"/>
|
||||
<Message Text="DEBUG TargetDir: $(TargetDir)"/>
|
||||
<Message Text="DEBUG TargetName: $(TargetName)"/>
|
||||
-->
|
||||
</Target>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
|
||||
Reference in New Issue
Block a user