user3634685
user3634685

Reputation: 591

Multiple languages in a Visual studio solution

Can I add C# and C and VC++ programs to a Visual studio 2015 solution. It can be different project or different folders.Can I build it as well?

Upvotes: 2

Views: 1617

Answers (2)

PatrickLu-MSFT
PatrickLu-MSFT

Reputation: 51103

In VS a solution can have multiple projects. You just need to configure multiple projects in your vNext build definition.

How to do this:

You can easily add more than one build task and directly build MSBuild project (.*proj) files.. That will also allow you to control the order that they get built.

enter image description here

Upvotes: 2

Greg Duncan
Greg Duncan

Reputation: 291

Simple answer is yes.

A Project must be a single language, but a Solution can have Projects, each with different languages. I've seen C++ Projects mixed with C# Projects a number of times.

Upvotes: 1

Related Questions