1

I'm working with a Lightswitch application that is using *VB.Net. Although no code has been written yet, there might be some auto-created by Lightswitch.

Now I want to add some code to the project but want the whole thing to use C# instead of VB.Net.

I don't want to recreate my entire project from scratch. Is there a way of changing the language?

Thanks.

4

1 回答 1

0

您可以通过右键单击 SharpDevelop 4 中的项目并选择“转换”来将项目从一种语言转换为另一种语言:

在此处输入图像描述

您还可以尝试这些基于 Web 的 VB-to-C# 工具:

http://www.developerfusion.com/tools/convert/bulk/

http://converter.telerik.com/

第一个链接中的工具旨在将上传的项目从一种语言实际转换为另一种语言,而第二个链接中的工具允许转换您粘贴到文本窗口中的代码。

于 2015-04-21T15:14:25.773 回答