Only copy dlls to debug locations if we're compiling on my PC

This commit is contained in:
Garry Newman 2019-06-25 13:26:18 +01:00
parent e7deae2ae3
commit b60fa061ed
2 changed files with 4 additions and 4 deletions

View File

@ -31,10 +31,6 @@
<RepositoryType>git</RepositoryType>
</PropertyGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netstandard2.0|AnyCPU'">
<Exec Command="copy $(TargetDir)\Facepunch.Steamworks.Win64.dll C:\Plastic\Rust\Assets\Plugins\Facepunch.Steamworks&#xD;&#xA;copy $(TargetDir)\Facepunch.Steamworks.Win64.pdb C:\Plastic\Rust\Assets\Plugins\Facepunch.Steamworks&#xD;&#xA;copy $(TargetDir)\Facepunch.Steamworks.Win64.xml C:\Plastic\Rust\Assets\Plugins\Facepunch.Steamworks&#xD;&#xA;&#xD;&#xA;copy $(TargetDir)\Facepunch.Steamworks.Win64.dll C:\GitHub\SteamworksUnityTests\Assets\Steamworks&#xD;&#xA;copy $(TargetDir)\Facepunch.Steamworks.Win64.pdb C:\GitHub\SteamworksUnityTests\Assets\Steamworks&#xD;&#xA;copy $(TargetDir)\Facepunch.Steamworks.Win64.xml C:\GitHub\SteamworksUnityTests\Assets\Steamworks" />
</Target>
<Import Project="Facepunch.Steamworks.targets" />
</Project>

View File

@ -29,4 +29,8 @@
<Folder Include="Generated\Interfaces\" />
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition="$(COMPUTERNAME) == 'GarrysPC' AND '$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netstandard2.0|AnyCPU'">
<Exec Command="copy $(TargetDir)\$(AssemblyName).dll C:\Plastic\Rust\Assets\Plugins\Facepunch.Steamworks&#xD;&#xA;copy $(TargetDir)\$(AssemblyName).pdb C:\Plastic\Rust\Assets\Plugins\Facepunch.Steamworks&#xD;&#xA;copy $(TargetDir)\$(AssemblyName).xml C:\Plastic\Rust\Assets\Plugins\Facepunch.Steamworks&#xD;&#xA;&#xD;&#xA;copy $(TargetDir)\$(AssemblyName).dll C:\GitHub\SteamworksUnityTests\Assets\Steamworks&#xD;&#xA;copy $(TargetDir)\$(AssemblyName).pdb C:\GitHub\SteamworksUnityTests\Assets\Steamworks&#xD;&#xA;copy $(TargetDir)\$(AssemblyName).xml C:\GitHub\SteamworksUnityTests\Assets\Steamworks" />
</Target>
</Project>