Mixing C# & VB In The Same Project
Asked 07 September, 2021
Viewed 2K times
  • 59
Votes

Can you mix vb and c# files in the same project for a class library? Is there some setting that makes it possible?

I tried and none of the intellisense works quite right, although the background compiler seems to handle it well enough (aside from the fact that I, then, had 2 classes in the same namespace with the same name and it didn't complain).

We're trying to convert from VB to C# but haven't finished converting all the code. I have some new code I need to write, but didn't really want to make a new project just for it.

17 Answer