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'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<OutputPath>bin\Debug</OutputPath>
|
<OutputPath>..</OutputPath>
|
||||||
<DefineConstants>TRACE;DEBUG</DefineConstants>
|
<DefineConstants>TRACE;DEBUG</DefineConstants>
|
||||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||||
@@ -45,7 +45,7 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
<OutputPath>bin\Release</OutputPath>
|
<OutputPath>..</OutputPath>
|
||||||
<DefineConstants>TRACE</DefineConstants>
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
@@ -338,29 +338,5 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Content Include="OpenRA.ico" />
|
<Content Include="OpenRA.ico" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
<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>
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
Reference in New Issue
Block a user