How do I stop Visual Studio's 'Publish Web

2019-02-26 08:45发布

It's really quite annoying as they are not part of the project.

2条回答
劳资没心,怎么记你
2楼-- · 2019-02-26 09:40

I know this is really old, but maybe someone else will be helped with my reply.

I found the solution here: http://www.meadow.se/wordpress/?p=137

Basically, add these lines to the bottom of your web deployment project file above the tab.

Just put your folder or file in there too and it will not be copied over.

查看更多
再贱就再见
3楼-- · 2019-02-26 09:42

The Visual Studio Web Deployment addin lets you exclude folders and more. VS2005 VS2008

Also a decent writeup on the Web Deployment addin

查看更多
登录 后发表回答