开发者

iis 7 web deploy / source control interaction problem

I have an asp.net web application that I am deploying using ms web deploy to an iis 7 web server.

I recently moved the project to source control with tortoise svn. Now web deploy isn't working since it is trying to copy the hidden read-only files (in a .svn subdirectory) that svn is using onto the iis server.

How do 开发者_如何学JAVAI configure web deploy to leave these files alone?


If you dont mind more of an X-copy scenario if you get your applications root folder and right-click drag it to another folder you will get the option - SVN Export all items here, or you can use SVN Export versioned items only, which will ignore all unversioned files.

This will do a clean export to the new folder with all .svn files removed!


http://blogs.msdn.com/b/webdevtools/archive/2010/04/22/web-deployment-excluding-files-and-folders-via-the-web-application-s-project-file.aspx

The first comment specifically about the line

**.svn***.*

was the key.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜