开发者

Run site using specific web.config transformation in Visual Studio

I'm using the web.config transformations on an ASP.NE开发者_如何转开发T site so I have .config settings for dev, test, and release environments. I need to run the source code in Visual Studio against the test database using the settings in Web.Test.config and I can't figure out how to do it. I tried changing the configuration to Test but it still uses the base Web.config settings.


You will need to modify the local web.config file to be able to do this. When running the project via the VS web server no transformations are completed. They are only done on publish.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜