Visual Studio Code上的Windows窗体应用程序?

问题描述 投票:9回答:2

我目前正在学习Visual Basic .Net,但我目前正在使用Linux Mint 18 Mate,唯一可用的Visual Studio是Visual Studio Code。我想知道它是否能够创建Windows窗体应用程序?

.net vb.net visual-studio-code
2个回答
11
投票

Windows Forms是[Desktop] Windows平台独有的。您当然不能使用VSCode,甚至在Windows中也不能,因为VSCode不包括常规Visual Studio IDE等表单设计器工具。因此,即使您可以编译,仍然缺乏设计所需的所有设施。

您可以尝试使用MonoDevelop for Linux(请参阅https://en.wikipedia.org/wiki/MonoDevelop

编辑:

一年后,看起来支持即将到来。我的猜测是它不会像在Windows上运行一样好但它看起来比Java应用程序更好:https://github.com/dotnet/winforms


1
投票

根据以下链接,VS Code不支持Desktop .NET Framework。因为VS Code被设计为跨平台。这意味着您无法使用“Windows窗体”。

https://code.visualstudio.com/docs/languages/csharp

侧注:当我收到“include System.Windows.Forms”缺少程序集引用时,我在Windows中编写C#时想知道同样的问题。

© www.soinside.com 2019 - 2024. All rights reserved.