mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-01-14 07:38:06 +03:00
Only copy dlls to debug locations if we're compiling on my PC
This commit is contained in:
parent
e7deae2ae3
commit
b60fa061ed
@ -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
copy $(TargetDir)\Facepunch.Steamworks.Win64.pdb C:\Plastic\Rust\Assets\Plugins\Facepunch.Steamworks
copy $(TargetDir)\Facepunch.Steamworks.Win64.xml C:\Plastic\Rust\Assets\Plugins\Facepunch.Steamworks

copy $(TargetDir)\Facepunch.Steamworks.Win64.dll C:\GitHub\SteamworksUnityTests\Assets\Steamworks
copy $(TargetDir)\Facepunch.Steamworks.Win64.pdb C:\GitHub\SteamworksUnityTests\Assets\Steamworks
copy $(TargetDir)\Facepunch.Steamworks.Win64.xml C:\GitHub\SteamworksUnityTests\Assets\Steamworks" />
|
||||
</Target>
|
||||
|
||||
<Import Project="Facepunch.Steamworks.targets" />
|
||||
|
||||
</Project>
|
||||
|
@ -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
copy $(TargetDir)\$(AssemblyName).pdb C:\Plastic\Rust\Assets\Plugins\Facepunch.Steamworks
copy $(TargetDir)\$(AssemblyName).xml C:\Plastic\Rust\Assets\Plugins\Facepunch.Steamworks

copy $(TargetDir)\$(AssemblyName).dll C:\GitHub\SteamworksUnityTests\Assets\Steamworks
copy $(TargetDir)\$(AssemblyName).pdb C:\GitHub\SteamworksUnityTests\Assets\Steamworks
copy $(TargetDir)\$(AssemblyName).xml C:\GitHub\SteamworksUnityTests\Assets\Steamworks" />
|
||||
</Target>
|
||||
|
||||
</Project>
|
||||
|
Loading…
x
Reference in New Issue
Block a user