Is there a tool to convert a VB.NET 2005 project to a C# 2008 project. I am trying to convert our project to VS 2008 and mostly port all the vb.NET code in some projects to C# 3.0/3.5.
I had a similar decision to make with a VB.net project. Solution was a compromise, I decided to run with dual VB and C#.
Upgrading VB.NET 2005 to 2008 is easy bit.
Added CSharp and VB folders to App_Code and
<codeSubDirectories>
<add directoryName="CSharp" />
<add directoryName="VB" />
</codeSubDirectories>
to compilation section of web.config
As Kev says, it's not as straight forward as you might expect, and you will likely run into unexpected issues , that make running with dual language support the best solution
I know this doesn't directly answer the question, but it's an alternative approach
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With