I implemented Web Deploy Packaging in my Business Intelligence application and found that it breaks MvcBuildViews. This happens because Web Deploy copies the components required for deployment into a sub-folder (under obj folder), duplicating the web.config file. MvcBuildViews then errors with a message about duplicated/nested configuration elements. This is a known issue on Microsoft Connect and a workaround is to ensure all build configurations (e.g. debug, release) are cleaned before attempting to use MvcBuildViews.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s