Skip to content
This repository has been archived by the owner on Sep 3, 2022. It is now read-only.

Deploy x64 dlls #8

Open
danil179 opened this issue Oct 20, 2019 · 2 comments
Open

Deploy x64 dlls #8

danil179 opened this issue Oct 20, 2019 · 2 comments

Comments

@danil179
Copy link

danil179 commented Oct 20, 2019

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)

@arnaudmaichac
Copy link
Contributor

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

@danil179
Copy link
Author

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants