Hi,
I used the search option but it didn't pop up anything good.
My question is : Is there a way to convert an entire VB.Net 2.0 project to a C# 2.0 project or do I have to rewrite it entirely ?
thanks.
Printable View
Hi,
I used the search option but it didn't pop up anything good.
My question is : Is there a way to convert an entire VB.Net 2.0 project to a C# 2.0 project or do I have to rewrite it entirely ?
thanks.
There are tools to do it but they are not free. You can try some of the code conversion links in my signature to help you but you'll undoubtedly have to make some changes manually, and you'd certainly have to read every line of converted code to make sure it was doing what you expect. Just because something compiles doesn't mean it works.
I may have misled you a little. I think that the SharpDevelop can convert between languages, although I'm not sure whether you can then open the project in VS again. If not you can just create a new project in VS and import all the code files using Add Existing Item.
http://www.icsharpcode.net/OpenSource/SD/
Thanks, I will try these options. I will keep you posted.
Google on VB to C# converter and you'll find a number of commercial converters (including ours). There are numerous issues ignored by on-line converters. See http://www.tangiblesoftwaresolutions...Converters.htm
All the commerical converters provide a free demo version - try them and find one you like.