Building Windows Client in linux container #486
-
Has anyone built the Windows client successfully on a linux machine (or container)? I am new to .NET, but am having a lot of trouble getting a build going via |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
The issue may be due to using .NET 8 instead of .NET Framework 4, which the GHOSTS project relies on. While I haven't built the Windows client on Linux, I have successfully run it as a DLL configured as a system service. You may need to explore compatibility options for building .NET Framework applications in a Linux environment. I've also updated the documentation to assist with Linux deployments: GHOSTS Linux Installation Guide. |
Beta Was this translation helpful? Give feedback.
-
I have always had cross-platform compile issues as well, and have not really dug into them because it was just easier/faster to do that build on a Windows VM. At the time, I chose .NET Framework because dotnetcore was fairly new, people wanted to run Ghosts on older machines, like Win7, and I wanted access to some Windows APIs. I think it is probably the time to start thinking about moving to a full modern .NET version of the client, which would condense a lot of code within the project and make it more manageable going forward. |
Beta Was this translation helpful? Give feedback.
I have always had cross-platform compile issues as well, and have not really dug into them because it was just easier/faster to do that build on a Windows VM.
At the time, I chose .NET Framework because dotnetcore was fairly new, people wanted to run Ghosts on older machines, like Win7, and I wanted access to some Windows APIs. I think it is probably the time to start thinking about moving to a full modern .NET version of the client, which would condense a lot of code within the project and make it more manageable going forward.