LeagueSandbox/ENetSharpLeague

Deploy x64 dlls

danil179 opened this issue · 2 comments

Add these lines:

  <files>
    <file src="Release/ENetCS.dll" target="lib/net461/x86/ENetCS.dll" />
    <file src="Release/libenet.dll" target="lib/native/x86/libenet.dll" />
    <file src="Release/libenet.dylib" target="lib/native/x86/libenet.dylib" />
    <file src="Release/libenet.so" target="lib/native/x86/libenet.so" />
    <file src="Release/ENetCS.dll" target="lib/net461/x64/ENetCS.dll" />
    <file src="Release/libenet.dll" target="lib/native/x64/libenet.dll" />
    <file src="Release/libenet.dylib" target="lib/native/x64/libenet.dylib" />
    <file src="Release/libenet.so" target="lib/native/x64/libenet.so" />
  </files>

https://github.com/LeagueSandbox/ENetSharpLeague/blob/indev/Package.nuspec
Also, we will need to update the build script in GameServer by adding $(Platform)

Hi,
I will also help you by creating a NuGet package that will target the different platforms

Thank you! I'm now trying to build this for x64 but there are some problems. It will probably take time to update enet to x64.