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

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

asp.net mvc - Implementing normal user/pass, Twitter & Facebook auth -