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.