mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-11-07 19:50:35 +03:00
Make content DLLs be copied via post build events instead
This commit is contained in:
parent
b616025b8d
commit
486bb9f0ef
3 changed files with 45 additions and 5 deletions
|
|
@ -18,7 +18,7 @@
|
|||
This copies all dependencies,
|
||||
but on the plus side it's automatically located in the right place.
|
||||
-->
|
||||
<OutputPath>..\bin\Client\Assemblies\</OutputPath>
|
||||
<OutputPath>..\bin\Content.Client\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<DebugType>full</DebugType>
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
|
|
@ -30,7 +30,7 @@
|
|||
This copies all dependencies,
|
||||
but on the plus side it's automatically located in the right place.
|
||||
-->
|
||||
<OutputPath>..\bin\Client\Assemblies\</OutputPath>
|
||||
<OutputPath>..\bin\Content.Client\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<Optimize>true</Optimize>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
|
|
@ -75,4 +75,24 @@
|
|||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Choose>
|
||||
<When Condition="'$(OS)'=='Windows_NT' Or '$(OS)'=='Windows'">
|
||||
<PropertyGroup>
|
||||
<PostBuildEvent>
|
||||
if not exist "..\Client\Assemblies" (
|
||||
mkdir ..\Client\Assemblies\
|
||||
)
|
||||
copy Content.* ..\Client\Assemblies\
|
||||
</PostBuildEvent>
|
||||
</PropertyGroup>
|
||||
</When>
|
||||
<Otherwise>
|
||||
<PropertyGroup>
|
||||
<PostBuildEvent>
|
||||
mkdir -p ../Client/Assemblies/
|
||||
cp Content.* ../Client/Assemblies/
|
||||
</PostBuildEvent>
|
||||
</PropertyGroup>
|
||||
</Otherwise>
|
||||
</Choose>
|
||||
</Project>
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
This copies all dependencies,
|
||||
but on the plus side it's automatically located in the right place.
|
||||
-->
|
||||
<OutputPath>..\bin\Server\Assemblies\</OutputPath>
|
||||
<OutputPath>..\bin\Content.Server\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<DebugType>full</DebugType>
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
|
|
@ -30,7 +30,7 @@
|
|||
This copies all dependencies,
|
||||
but on the plus side it's automatically located in the right place.
|
||||
-->
|
||||
<OutputPath>..\bin\Server\Assemblies\</OutputPath>
|
||||
<OutputPath>..\bin\Content.Server\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<Optimize>true</Optimize>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
|
|
@ -71,4 +71,24 @@
|
|||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Choose>
|
||||
<When Condition="'$(OS)'=='Windows_NT' Or '$(OS)'=='Windows'">
|
||||
<PropertyGroup>
|
||||
<PostBuildEvent>
|
||||
if not exist "..\Server\Assemblies" (
|
||||
mkdir ..\Server\Assemblies\
|
||||
)
|
||||
copy Content.* ..\Server\Assemblies\
|
||||
</PostBuildEvent>
|
||||
</PropertyGroup>
|
||||
</When>
|
||||
<Otherwise>
|
||||
<PropertyGroup>
|
||||
<PostBuildEvent>
|
||||
mkdir -p ../Server/Assemblies/
|
||||
cp Content.* ../Server/Assemblies/
|
||||
</PostBuildEvent>
|
||||
</PropertyGroup>
|
||||
</Otherwise>
|
||||
</Choose>
|
||||
</Project>
|
||||
|
|
|
|||
2
engine
2
engine
|
|
@ -1 +1 @@
|
|||
Subproject commit 51b13c47de700b2687a45a7b54c1451395b97305
|
||||
Subproject commit 6af8422e21805fb311a8526374815d417ce0dd7d
|
||||
Loading…
Add table
Reference in a new issue