visual studio 2010 - Can you use VS Macros in .config Files? -
is possible use visual studio macro within .config file? example, can create appsetting this, $(projectdir) maps directory .csproj file located?
<appsettings> <add key="mydirectory" value="$(projectdir)\app_data\mydirectory"/> </appsettings>
after searching around, short answer question 'no'.
having macros within .config file mean web.config file not able interpreted when deployed somewhere other debug environment.
Comments
Post a Comment