1

I am new to ASP.NET, and I am working on a project which contains two C# and one VB.NET projects.

I want to put it all in a single project. How would I do it?

2 Answers 2

2

You can't mix different languages within a same project - but it's simple enough to have a class library written in C# that's called by VB or vice versa.

It's possible that you could write your ASP.NET pages in one language and have other code written in another language in the same project - but I would personally try to keep the presentation part of the code in one project and the logic in another, with each project only using a single language.

Sign up to request clarification or add additional context in comments.

Comments

1

Just create a new solution and then add the two projects to it. Set one of them as the startup project and you are done.

To create an empty solution, select new project and then under Other Project Types, choose Visual Studio Solutions>>Blank Solution

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.