2016-12-14 619 views
3

在新的Visual Studio for Mac中 - 我如何創建一個Windows窗體應用程序 - 或最相似的一個?在後一種情況下 - 我可以在這裏打開一箇舊的Windows Forms應用程序項目嗎?這是爲了學生的學校任務,我們要打開一個以創建的舊Windows窗體項目爲例 - 運行它並獲得靈感來創建一個新窗體項目。是否有可能從新的Visual Studio for Mac中這樣做?在新的Visual Studio for Mac中 - 可能創建Windows窗體應用程序?

+4

Mac上沒有WinForms。 – SLaks

+0

@mybirthname:https://www.visualstudio.com/vs/visual-studio-mac/ – SLaks

+0

@SLaks洛爾感謝您的鏈接 – mybirthname

回答

0

可以在Visual Studio for Mac中打開並運行在Windows上使用Visual Studio創建的Windows Forms項目。它可能在一些簡單的情況下起作用,但通常它不被支持,並且當它崩潰時,沒有人會幫助你。我試圖遷移我的WinForms項目,並得到想要顯示的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. 

不幸的是,這是一個死衚衕。

相關問題