Convert VB.Net Project to C#

Jeffrey Gaines 40 Reputation points
2025-08-31T09:31:09.9366667+00:00

I have just installed Visual Studio 2022 Community Edition.

I was planning to convert an old VB.Net project to C#. I started by updating it to .NET Framework 4.8 and made sure it compiled and worked.

When I tried to convert it to C# the option wasn't available and I had to download a third party tool and install it in VS, I can't find it now I have no idea where to look.

Has the built in converter been removed?

This tool frankly hasn't made a very good job of it, are there any recommendations please?

Developer technologies | C#
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
{count} votes

Answer accepted by question author
  1. Bruce (SqlWork.com) 82,061 Reputation points Volunteer Moderator
    2025-09-01T06:17:49.5266667+00:00

    MS never supplied the tool. There is an open source vs extension

    https://marketplace.visualstudio.com/items?itemName=SharpDevelopTeam.CodeConverter

    0 comments No comments

5 additional answers

Sort by: Most helpful
  1. Graham Clarke 0 Reputation points
    2025-12-12T02:18:36.11+00:00

    I tried to use the SharpTeam converter. I downloaded the extension from the Visual Studio marketplace, loaded a very very simple vb shared project file and attempted to convert. Every attempt I made was met with a Catrostrophic Failure error (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))).

    I would love to continue using this but I have no idea what the problem is.

    In the meantime I will keep using Instant C#

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.