Forum C# Testing server side code on Mac? Is that possible?

Testing server side code on Mac? Is that possible?

Postby Vishwas Gagrani » October 13th, 2020, 1:39 pm

Is it possible to test the server side c# code on Mac?
I see there is an IDE available for mac
https://www.monodevelop.com/download/

Would it be sufficient to compile the code and create the dll file required to be uploaded on playerio server?

Has anyone using it on mac?
Vishwas Gagrani
 
Posts: 15
Joined: October 9th, 2012, 6:43 pm

Re: Testing server side code on Mac? Is that possible?

Postby Henrik » October 13th, 2020, 10:23 pm

We're sorry, but the development server currently only works on Windows, because it's using Windows.Forms, a part of .Net that was never ported to Mono.

You can compile serverside code on any platform and upload, that shouldn't be a problem.

Changes are coming to the whole .Net ecosystem with .Net core 5 though, and we're going to look into how feasible it would be to support that target, because it would mean that you could run the dev server anywhere on anything.
Henrik
.IO
 
Posts: 1880
Joined: January 4th, 2010, 1:53 pm

Re: Testing server side code on Mac? Is that possible?

Postby Vishwas Gagrani » October 14th, 2020, 5:04 am

Henrik wrote:You can compile serverside code on any platform and upload, that shouldn't be a problem.

It's ok if mono does not support it.
But can windows.forms c# code be compiled on Mac?
Are there any instructions available on player.io website?

https://stackoverflow.com/questions/534 ... -os-high-s
It looks there is no such option available though. But just want to confirm.
Vishwas Gagrani
 
Posts: 15
Joined: October 9th, 2012, 6:43 pm

Re: Testing server side code on Mac? Is that possible?

Postby Vishwas Gagrani » October 14th, 2020, 6:27 am

Henrik wrote:We're sorry, but the development server currently only works on Windows, because it's using Windows.Forms, a part of .Net that was never ported to Mono.


Please check this page. It says Windows.forms is supported by mono

https://www.mono-project.com/docs/about ... rms/macos/
Vishwas Gagrani
 
Posts: 15
Joined: October 9th, 2012, 6:43 pm


Return to C#



cron