I have a solution with a bunch of 2.0 vb library projects and I want to add a 4.0 c# library project, so I can reference one of the vb projects in my c# project. Is this possible?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It depends what you mean by “2.0”. If you mean they’re projects targeting .NET 2.0, that’s absolutely fine. If they’re Visual Studio 2005 project files, it’ll be slightly more awkward. You’ll need to upgrade the solution file in order to use it from Visual Studio 2010, at which point it won’t load in VS2005. I’ve had some success in using multiple solution files, one for each version of Visual Studio, and upgrading the project files. Earlier versions of Visual Studio will give a warning that they don’t understand the later tools version, but they’ll still work so long as you don’t use any of the newer features.