Malin
Malin

Reputation: 179

In new Visual Studio for Mac - possible to create Windows Forms Application?

In new Visual Studio for Mac - how can I create a Windows Forms Application - or the most similar thing to one? And in the latter case - can I open an old Windows Forms Application-project in this? This is for a student school task, where we are to open an old Windows Forms Project created as an example - run it and get inspired to create a new one. Is it possible to do so from the new Visual Studio for Mac?

Upvotes: 3

Views: 3674

Answers (1)

Tom Andraszek
Tom Andraszek

Reputation: 1870

It is possible to open and run in Visual Studio for Mac a Windows Forms project created in Visual Studio on Windows. It may work in some simple cases, but generally it is not supported, and when it crashes, nobody will help you. I tried to migrate my WinForms project and stopped after getting a crash when trying to show a NotifyIcon:

Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.

Unfortunately, it is a dead end.

Upvotes: 0

Related Questions