Explorar o código

修复ThirdParty工程设置,导出runtime dlls

大爷 %!s(int64=2) %!d(string=hai) anos
pai
achega
7999be349d
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      DotNet/ThirdParty/DotNet.ThirdParty.csproj

+ 6 - 0
DotNet/ThirdParty/DotNet.ThirdParty.csproj

@@ -50,21 +50,27 @@
     <ItemGroup>
       <Content Include="..\..\Unity\Assets\Plugins\MacOS\x86_64\libkcp.dylib">
         <Link>Runtimes\MacOS\libkcp.dylib</Link>
+        <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
       </Content>
       <Content Include="..\..\Unity\Assets\Plugins\MacOS\x86_64\libRecastDll.dylib">
         <Link>Runtimes\MacOS\libRecastDll.dylib</Link>
+        <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
       </Content>
       <Content Include="..\..\Unity\Assets\Plugins\x86_64\kcp.dll">
         <Link>Runtimes\X86_64\kcp.dll</Link>
+        <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
       </Content>
       <Content Include="..\..\Unity\Assets\Plugins\x86_64\libkcp.so">
         <Link>Runtimes\Linux\libkcp.so</Link>
+        <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
       </Content>
       <Content Include="..\..\Unity\Assets\Plugins\x86_64\libRecastDll.so">
         <Link>Runtimes\Linux\libRecastDll.so</Link>
+        <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
       </Content>
       <Content Include="..\..\Unity\Assets\Plugins\x86_64\RecastDll.dll">
         <Link>Runtimes\X86_64\RecastDll.dll</Link>
+        <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
       </Content>
     </ItemGroup>