Fix compatibility with msbuild/csc on non-windows.
This commit is contained in:
committed by
Oliver Brakmann
parent
728162e688
commit
3db15beeb9
@@ -823,17 +823,17 @@
|
||||
SourceFiles="$(TargetPath)"
|
||||
DestinationFolder="$(SolutionDir)mods/common/"/>
|
||||
<!--
|
||||
We need to copy OpenRA.Mods.Common.pdb (not `.dll.pdb`). This is only necessary on Windows.
|
||||
Mono outputs a `.dll.mdb` so we can just append `.mdb` directly.
|
||||
csc generates .pdb symbol files (not `.dll.pdb`).
|
||||
mcs generates .dll.mdb symbol files.
|
||||
-->
|
||||
<Copy
|
||||
SourceFiles="$(TargetDir)$(TargetName).pdb"
|
||||
DestinationFolder="$(SolutionDir)mods/common/"
|
||||
Condition="'$(OS)' == 'Windows_NT'"/>
|
||||
Condition="Exists('$(TargetDir)$(TargetName).pdb')"/>
|
||||
<Copy
|
||||
SourceFiles="$(TargetPath).mdb"
|
||||
DestinationFolder="$(SolutionDir)mods/common/"
|
||||
Condition="'$(OS)' == 'Unix'"/>
|
||||
Condition="Exists('$(TargetPath).mdb')"/>
|
||||
<!-- Uncomment these lines when debugging or adding to this target
|
||||
<Message Text="DEBUG OS: $(OS)"/>
|
||||
<Message Text="DEBUG SolutionDir: $(SolutionDir)"/>
|
||||
|
||||
Reference in New Issue
Block a user