2

I'm using VS2010 with the Web Deployment Projects to create a release package for my web application. In WDP I have created some build tasks to for example transform the web.config, create some directories and remove some files.

Now I've migrated the web application to ASP.NET 4 and I've been looking at this feature in VS2010 called Package/Publish. Is it possible to use this feature and add custom MSBUILD tasks, like with WDP?

I would like to get rid of the WDP plugin if the same is possible with a default VS2010 setup.

1 Answer 1

1

Hi the package/publish features are a part of a process known as the Web Publishing Pipeline, which is captured inside of MSBuild targets & tasks. For Visual Studio 2010 Web Application Projects (WAP) the file Microsoft.WebApplication.targets & Microsoft.Web.Publishing.targets (under %Program Files(x86)\MSBuild\Microsoft\VisualStudio\v10.0\WebApplications) are imported into the project file. If you want to customize the package/publish process you should be able to.

Here are some links to get you started. If you have specific questions post them and I can take a look.

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

2 Comments

Thanks Sayed, your articles are very helpfull. In addition I found this article: blogs.msdn.com/b/webdevtools/archive/2010/02/09/…
@johan, yeah should have added that link especially cuz I'm on that team! I've updated the entry.

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.