1

I'm using WebDeploy to package my ASP .Net MVC3 project for deployment, but I'm finding that the package is being bloated by a number of xml files. These appear to be XML documentation, presumably used by VS2010 for intellisense.

For example, in my built package (and build dir) I have both NHibernate.dll and NHibernate.xml.

  • Do these xml doc files need to be deployed?
  • How can I exclude them from the build / webdeploy if not?

Thanks!

1

1 Answer 1

2

Two things to check:

1) Are you using a debug build instead of a release build to build your package?

2) For information on excluding specific files or folders from a deployment, see the ASP.NET Web Application Project Deployment FAQ. There's also a blog post on customizing a deployment package that has information on how to use skip rules to exclude files or folders from a particular Web Deploy operation.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.