如何转换VB项目到C#项目 [英] How Convert VB Project to C# Project

查看:296
本文介绍了如何转换VB项目到C#项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有VB编写的一个项目,我需要整个项目C#项目进行转换。我并不想这样做,按文件的文件,我发现了一些在线转换器,但他们只转换线codeS,而不是整个项目。我发现研究,并在这里写的 我看到这个问题的,有写这

I have a project written in VB, and I need to convert the whole project to C# project. I don't want to do it file by file, I found some online converters, but they convert only lines of codes, not the whole project. I found on researches, and here was written that I saw this question , there was written that

和我也研究了谷歌,如果你右击该项目,我发现这里 , 那 右键点击Projects窗口中,选择转换的项目 - 从VB.NET到C#。但是,当我用鼠标右键单击在Projects窗口中的项目,我can'd发现,转换。是否有任何工具,我必须安装的SharpDevelop的,然后我就能够把我的项目? 谢谢

And I also researched on Google, that if you Right Click on the project, I found here , that "Right click on the project in the Projects window and select Convert - From VB.NET to C#". But when I right click on The Project in the Projects window, I can'd find that "Convert". Is there any tool I have to install for SharpDevelop and then I will be able to convert my project ? Thanks

推荐答案

我假设你试图SharpDevelop的5,因为转换功能是该版本缺少的。

I am assuming you tried SharpDevelop 5 since the conversion feature is missing in that version.

如果您安装 SharpDevelop的4.4 您可以将整个VB.NET工程C#中打开该解决方案,右击在Projects窗口中的项目,然后选择转换 - 从VB.NET到C#

If you install SharpDevelop 4.4 you can convert an entire VB.NET project to C# by opening the solution, right clicking the project in the Projects window and selecting Convert - From VB.NET to C#

这篇关于如何转换VB项目到C#项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆