Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Installed a VS 2019 extension to convert vb to c#. But I don't know how to add it to my project. My search has shown nothing. Can you tell me where to look?

What I have tried:

Lots of searches and checking all the ribbon items.
Posted
Updated 11-Mar-23 14:01pm
v2

1 solution

The extension extends the VS IDE, not your application. It will however attempt to convert code in your project to the "other" language. From my experience, it is a waste of time and fails more than it succeeds. You can see how it works here: Code Converter (VB - C#) - Visual Studio Marketplace[^]
 
Share this answer
 
Comments
BobbyStrain 11-Mar-23 20:13pm    
Thank you. I have it installed. But I don't know how to use it.
Graeme_Grant 11-Mar-23 20:15pm    
A picture is worth a thousand words. The screenshots in the link provided show you how.

When I look at the screenshots, I see:
1. Highlight the code, right-click on the selection, then choose the conversion option.
2. Right-click on the file to be converted in the solution explorer and choose the conversion option.
BobbyStrain 11-Mar-23 20:35pm    
Thank you. I'm up and running now.
Graeme_Grant 11-Mar-23 20:43pm    
Glad to hear.
If this helped you, which it appears that it has, please mark the solution as accepted so others will know.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900