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.