简体   繁体   English

VB.NET对ASP.NET 5(MVC6)的支持

[英]VB.NET support for ASP.NET 5 (MVC6)

I've heard rummors that ASP.NET 5 does not support VB.net. 听说有传言说ASP.NET 5不支持VB.net。 Is this correct? 它是否正确? Or does this apply only on some particular scenarios? 还是仅适用于某些特定情况?

Update 5/1/2015 2015年5月1日更新

On April 23rd, the ASP.NET team announced that support for Visual Basic will be coming to ASP.NET 5. 4月23日,ASP.NET团队宣布ASP.NET 5将支持Visual Basic。

More information is on the .NET Web Development and Tools Blog: http://blogs.msdn.com/b/webdev/archive/2015/04/23/making-it-better-asp-net-with-visual-basic-14.aspx 有关更多信息,请参见.NET Web开发和工具博客: http : //blogs.msdn.com/b/webdev/archive/2015/04/23/making-it-better-asp-net-with-visual-basic -14.aspx


Original Answer 原始答案

Though it was mentioned in a comment, it's worth having a full answer. 尽管在评论中提到了它,但值得完整回答。

There are no plans to support VB in ASP.NET 5 in terms of compilation, project templates, and other tools. 在编译,项目模板和其他工具方面,没有计划在ASP.NET 5中支持VB。 This is discussed in the following GitHub issue on the ASP.NET 5 project: https://github.com/aspnet/Home/issues/236 在ASP.NET 5项目的以下GitHub问题中对此进行了讨论: https : //github.com/aspnet/Home/issues/236

As that issues also mentions, ASP.NET 5 has some in-progress support to enable non-C# compilers to be used, but there is still no official plans to support VB (you'd have to roll your own). 正如该问题还提到的那样,ASP.NET 5具有一些正在进行的支持,以允许使用非C#编译器,但是仍然没有官方计划支持VB(您必须自己动手制作)。

"We are excited today to announce that ASP.NET 5 will have full support with Visual Basic (both tooling and runtime – including cross platform runtime support). As always, we will continue this development of ASP.NET 5 in the open, and you can track our progress or even contribute on GitHub at http://github.com/aspnet/home ." “今天我们很高兴宣布ASP.NET 5将完全支持Visual Basic(工具和运行时–包括跨平台运行时支持)。一如既往,我们将继续在开放的基础上继续ASP.NET 5的开发,以及您可以在http://github.com/aspnet/home上跟踪我们的进度甚至在GitHub上做出贡献。”

Taken from: http://blogs.msdn.com/b/webdev/archive/2015/04/23/making-it-better-asp-net-with-visual-basic-14.aspx 摘自: http : //blogs.msdn.com/b/webdev/archive/2015/04/23/making-it-better-asp-net-with-visual-basic-14.aspx

As per my understanding You can still develop application using VB.NEt in Visual studio 2015, but you will not get the benefits of ASP.NET 5 like cross platform etc. 根据我的理解,您仍然可以在Visual Studio 2015中使用VB.NEt开发应用程序,但是您将无法获得ASP.NET 5的好处,例如跨平台等。

This is my understanding. 这是我的理解。 Official decelerations are yet to come. 官方降速尚未到来。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM