Hi.
My project is deployed here:
D:\wwwdeployment\test\ProjectName\4.1.33
I have various persistent files which are not part of a deployment, these are kept in the parent folder, for example:
D:\wwwdeployment\test\ProjectName\MailDrop
I would like to specify this path in a Web.Test.Config transform, ideally like so:
In order that the resulting web.config file will have
But I don’t know how to get the path I want into the transformed file.
I was using the web.test.config to do this manually like so:
but I was wondering if there was a way to get this path, so I don’t have to edit this file in souce control so when I merge the trunk into the branch. I have to change this line to:
I’m trying to determine how in the future to have more flexibility over where a package is deployed, at the moment the package has various “hard-coded” reverences to it’s environment which I’m trying to remove.