One of the interesting things about using Web.config transformations with ASP.Net Web Application projects is that the Build and Rebuild operations in Visual Studio do not automatically perform the necessary processing of the Web.config transformations.
Instead, one actually has to use the Publish capabilities available through the ASP.Net Web Application project.
Instead, one actually has to use the Publish capabilities available through the ASP.Net Web Application project.
- Right click on the ASP.Net Web Application project and select the menu option for Publish
- A Publish Web dialog should now display
- From the drop down list of Publish methods, select File System
- Specify a target location on the file system for publication
- Click on the Publish button to build the project and publish it to its desired target location
No comments:
Post a Comment