Define macros per soluton (not per project)

  • Thread starter Thread starter BlackholeBrain
  • Start date Start date
B

BlackholeBrain

Guest
I want to reuse some visual studio projects from an existing solution but with variable reference paths. For example I have a SlnA.sln having foo.vcxproj. Say this foo.vcxproj has reference to bar.vcxproj. I need to create a SlnB.sln and to add foo.vcxproj, but instead of referencing bar.vcxproj, it needs to reference bar2.vcxproj.

If there is a way to include a macro or a propsheet based on solution, I think I can make the name and GUID of the project bar as variables such that it loads the appropriate project based on solution. Any suggestions/help will be very helpful.

Thanks.

Continue reading...
 
Back
Top