Make content DLLs be copied via post build events instead
This commit is contained in:
@@ -18,7 +18,7 @@
|
|||||||
This copies all dependencies,
|
This copies all dependencies,
|
||||||
but on the plus side it's automatically located in the right place.
|
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>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
This copies all dependencies,
|
This copies all dependencies,
|
||||||
but on the plus side it's automatically located in the right place.
|
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>
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
@@ -75,4 +75,24 @@
|
|||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<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>
|
</Project>
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
This copies all dependencies,
|
This copies all dependencies,
|
||||||
but on the plus side it's automatically located in the right place.
|
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>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
This copies all dependencies,
|
This copies all dependencies,
|
||||||
but on the plus side it's automatically located in the right place.
|
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>
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
@@ -71,4 +71,24 @@
|
|||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<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>
|
</Project>
|
||||||
|
|||||||
2
engine
2
engine
Submodule engine updated: 51b13c47de...6af8422e21
Reference in New Issue
Block a user