I need to add a macro to a visual studio project so that i could use this macro to set properties of the project.
eg I could replace 192.168.1.50 to a macro naming $(RemoteComputer).
Could I do this?
Two options:
.vcxproj
file and go to Project/PropertyGroup[Label="Globals"]
. Add a new tag here, eg FooBar and it will appear as a $-macro in the studio-settings for that project.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.