James
James

Reputation: 51

Visual Studio Property Page Inherit Macros From Other Projects

So I am having a very difficult time finding a solution to this problem. Is there any way that I can inherit macros from another project. For example, for the post build I would like to use the macro for the RemoteMachine address that is located in one project in all the other projects. I was thinking something like (ProjectContainingMacro.$RemoteMachine) ... does anyone have any suggestions?

Upvotes: 2

Views: 1018

Answers (1)

James
James

Reputation: 51

A possible fix to this is that you can add user defined macros to a property sheet and inherit the property sheet. Thus now I can pass the new user defined macros in the command lines for the post builds and there is only one file to change if I change machines which is the properties sheet itself.

Upvotes: 3

Related Questions