mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
Output doesn't create top level 'Plugins' folder anymore
This commit is contained in:
parent
7935114005
commit
4d1d9c6ea3
@ -79,10 +79,10 @@
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Target Name="AfterBuild">
|
||||
<MakeDir Directories="$(ProjectDir)..\Output\Plugins\Editor" />
|
||||
<Copy SourceFiles="$(TargetDir)$(TargetName).dll" DestinationFiles="$(ProjectDir)..\Output\Plugins\Editor\$(TargetName).dll" />
|
||||
<Copy Condition="Exists('$(TargetDir)$(TargetName).dll.mdb')" SourceFiles="$(TargetDir)$(TargetName).dll.mdb" DestinationFiles="$(ProjectDir)..\Output\Plugins\Editor\$(TargetName).dll.mdb" />
|
||||
<Copy Condition="Exists('$(TargetDir)$(TargetName).pdb')" SourceFiles="$(TargetDir)$(TargetName).pdb" DestinationFiles="$(ProjectDir)..\Output\Plugins\Editor\$(TargetName).pdb" />
|
||||
<MakeDir Directories="$(ProjectDir)..\Output\Editor" />
|
||||
<Copy SourceFiles="$(TargetDir)$(TargetName).dll" DestinationFiles="$(ProjectDir)..\Output\Editor\$(TargetName).dll" />
|
||||
<Copy Condition="Exists('$(TargetDir)$(TargetName).dll.mdb')" SourceFiles="$(TargetDir)$(TargetName).dll.mdb" DestinationFiles="$(ProjectDir)..\Output\Editor\$(TargetName).dll.mdb" />
|
||||
<Copy Condition="Exists('$(TargetDir)$(TargetName).pdb')" SourceFiles="$(TargetDir)$(TargetName).pdb" DestinationFiles="$(ProjectDir)..\Output\Editor\$(TargetName).pdb" />
|
||||
<!--Uncomment the block below and change the destination to copy the built dll into your unity install directory-->
|
||||
<!--<Copy SourceFiles="$(TargetDir)$(TargetName).dll" DestinationFiles="C:\Program Files\Unity\Editor\Data\UnityExtensions\Unity\Networking\Editor\$(TargetName).dll"/>
|
||||
<Copy Condition="'$(Configuration)' == 'Debug'" SourceFiles="$(TargetDir)$(TargetName).mdb" DestinationFiles="C:\Program Files\Unity\Editor\Data\UnityExtensions\Unity\Networking\Editor\$(TargetName).mdb"/>-->
|
||||
|
@ -102,20 +102,20 @@
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
|
||||
<Target Name="AfterBuild" DependsOnTargets="AfterBuildEditor;AfterBuildStandalone" >
|
||||
<Copy SourceFiles="$(TargetDir)Telepathy.dll" DestinationFiles="$(ProjectDir)..\Output\Plugins\Telepathy.dll" />
|
||||
<Copy SourceFiles="$(TargetDir)Telepathy.dll" DestinationFiles="$(ProjectDir)..\Output\Telepathy.dll" />
|
||||
</Target>
|
||||
|
||||
<Target Name="AfterBuildEditor" Condition=" '$(Configuration)' == 'Release-Editor' or '$(Configuration)' == 'Debug-Editor'">
|
||||
<MakeDir Directories="$(ProjectDir)..\Output\Plugins\Runtime-Editor" />
|
||||
<Copy SourceFiles="$(TargetDir)$(TargetName).dll" DestinationFiles="$(ProjectDir)..\Output\Plugins\Runtime-Editor\$(TargetName).dll" />
|
||||
<Copy Condition="Exists('$(TargetDir)$(TargetName).dll.mdb')" SourceFiles="$(TargetDir)$(TargetName).dll.mdb" DestinationFiles="$(ProjectDir)..\Output\Plugins\Runtime-Editor\$(TargetName).dll.mdb" />
|
||||
<Copy Condition="Exists('$(TargetDir)$(TargetName).pdb')" SourceFiles="$(TargetDir)$(TargetName).pdb" DestinationFiles="$(ProjectDir)..\Output\Plugins\Runtime-Editor\$(TargetName).pdb" />
|
||||
<MakeDir Directories="$(ProjectDir)..\Output\Runtime-Editor" />
|
||||
<Copy SourceFiles="$(TargetDir)$(TargetName).dll" DestinationFiles="$(ProjectDir)..\Output\Runtime-Editor\$(TargetName).dll" />
|
||||
<Copy Condition="Exists('$(TargetDir)$(TargetName).dll.mdb')" SourceFiles="$(TargetDir)$(TargetName).dll.mdb" DestinationFiles="$(ProjectDir)..\Output\Runtime-Editor\$(TargetName).dll.mdb" />
|
||||
<Copy Condition="Exists('$(TargetDir)$(TargetName).pdb')" SourceFiles="$(TargetDir)$(TargetName).pdb" DestinationFiles="$(ProjectDir)..\Output\Runtime-Editor\$(TargetName).pdb" />
|
||||
</Target>
|
||||
<Target Name="AfterBuildStandalone" Condition=" '$(Configuration)' == 'Release' or '$(Configuration)' == 'Debug'">
|
||||
<MakeDir Directories="$(ProjectDir)..\Output\Plugins\Runtime" />
|
||||
<Copy SourceFiles="$(TargetDir)$(TargetName).dll" DestinationFiles="$(ProjectDir)..\Output\Plugins\Runtime\$(TargetName).dll" />
|
||||
<Copy Condition="Exists('$(TargetDir)$(TargetName).dll.mdb')" SourceFiles="$(TargetDir)$(TargetName).dll.mdb" DestinationFiles="$(ProjectDir)..\Output\Plugins\Runtime\$(TargetName).dll.mdb" />
|
||||
<Copy Condition="Exists('$(TargetDir)$(TargetName).pdb')" SourceFiles="$(TargetDir)$(TargetName).pdb" DestinationFiles="$(ProjectDir)..\Output\Plugins\Runtime\$(TargetName).pdb" />
|
||||
<MakeDir Directories="$(ProjectDir)..\Output\Runtime" />
|
||||
<Copy SourceFiles="$(TargetDir)$(TargetName).dll" DestinationFiles="$(ProjectDir)..\Output\Runtime\$(TargetName).dll" />
|
||||
<Copy Condition="Exists('$(TargetDir)$(TargetName).dll.mdb')" SourceFiles="$(TargetDir)$(TargetName).dll.mdb" DestinationFiles="$(ProjectDir)..\Output\Runtime\$(TargetName).dll.mdb" />
|
||||
<Copy Condition="Exists('$(TargetDir)$(TargetName).pdb')" SourceFiles="$(TargetDir)$(TargetName).pdb" DestinationFiles="$(ProjectDir)..\Output\Runtime\$(TargetName).pdb" />
|
||||
</Target>
|
||||
|
||||
</Project>
|
@ -81,12 +81,12 @@
|
||||
<CecilFiles Include="$(TargetDir)Unity.Cecil.*" />
|
||||
</ItemGroup>
|
||||
<Target Name="AfterBuild">
|
||||
<MakeDir Directories="$(ProjectDir)..\Output\Plugins\Editor" />
|
||||
<MakeDir Directories="$(ProjectDir)..\Output\Plugins\Editor\Unity.Cecil" />
|
||||
<Copy SourceFiles="$(TargetDir)$(TargetName).dll" DestinationFiles="$(ProjectDir)..\Output\Plugins\Editor\$(TargetName).dll" />
|
||||
<Copy SourceFiles="@(CecilFiles)" DestinationFolder="$(ProjectDir)..\Output\Plugins\Editor\Unity.Cecil" />
|
||||
<Copy Condition="Exists('$(TargetDir)$(TargetName).dll.mdb')" SourceFiles="$(TargetDir)$(TargetName).dll.mdb" DestinationFiles="$(ProjectDir)..\Output\Plugins\Editor\$(TargetName).dll.mdb" />
|
||||
<Copy Condition="Exists('$(TargetDir)$(TargetName).pdb')" SourceFiles="$(TargetDir)$(TargetName).pdb" DestinationFiles="$(ProjectDir)..\Output\Plugins\Editor\$(TargetName).pdb" />
|
||||
<MakeDir Directories="$(ProjectDir)..\Output\Editor" />
|
||||
<MakeDir Directories="$(ProjectDir)..\Output\Editor\Unity.Cecil" />
|
||||
<Copy SourceFiles="$(TargetDir)$(TargetName).dll" DestinationFiles="$(ProjectDir)..\Output\Editor\$(TargetName).dll" />
|
||||
<Copy SourceFiles="@(CecilFiles)" DestinationFolder="$(ProjectDir)..\Output\Editor\Unity.Cecil" />
|
||||
<Copy Condition="Exists('$(TargetDir)$(TargetName).dll.mdb')" SourceFiles="$(TargetDir)$(TargetName).dll.mdb" DestinationFiles="$(ProjectDir)..\Output\Editor\$(TargetName).dll.mdb" />
|
||||
<Copy Condition="Exists('$(TargetDir)$(TargetName).pdb')" SourceFiles="$(TargetDir)$(TargetName).pdb" DestinationFiles="$(ProjectDir)..\Output\Editor\$(TargetName).pdb" />
|
||||
<!--Uncomment the block below and change the destination to copy the built dll into your unity install directory-->
|
||||
<!--<Copy SourceFiles="$(TargetDir)$(TargetName).dll" DestinationFiles="C:\Program Files\Unity\Editor\Data\Managed\$(TargetName).dll"/>
|
||||
<Copy Condition="'$(Configuration)' == 'Debug'" SourceFiles="$(TargetDir)$(TargetName).mdb" DestinationFiles="C:\Program Files\Unity\Editor\Data\Managed\$(TargetName).mdb"/>-->
|
||||
|
Loading…
Reference in New Issue
Block a user