I have installed VS 2015 and VS 2010. I have VCxproj and .sln file in VS 2010.
Now I want to Build the .sln file. I have open the project in VS 2015. But when i build it get build using VS 2010.
I want want that when I build using VS 2010 it should build using VS 2010 and If I open VS 2015, It should be build using VS 2015.
I have not define any toolset in .vcxproj file. It chooses the default toolset. Where I can find and how default toolset can be overwritten ?
Please note that It should be done using command line. I dont want to change .VCXproj.
Can any one have any Idea ?
It's a project-level setting. You can create one project for VS2010 and one for VS2015. You also need 2 solution files.