开发者

What is the purpose of the vwd.webinfo file in an ASP.Net Website Project?

I have an ASP.Net 2.0 web project, which is setup is a Web Site (a file system web site I believe, though not sure). One file that keeps changing very often, ot it's own, is the vwd.webinfo file. It is located in the root folder of the project, and this is what it looks like:

<?xml version="1.0" encoding="UTF-8"?><VisualWebDeveloper>

    <!-- 
    Visual Studio global web project settings.
    -->


    <StartupServices>
        <Service ID="{B4F97281-0DBD-4835-9ED8-7DFB966E87FF}"/>
    <开发者_开发知识库;/StartupServices>
</VisualWebDeveloper>

If I goto the revision history of this file under SVN, and compare each revision to the previous one, the only difference has been the addition of a blank line to the later revision, added just before the <Service> tag. So over the last 10 revisions, There have been 10 new blank lines added to the file. Very weird.

  1. Anybody know what is going on here?
  2. What does this file do, and why does it keep changing so often?
  3. Can I delete it?
  4. If not, can I exclude it form source control?
  5. Does it need to be included for deployment to a live server?


Seems to be related to specific (Beta) versions of VS 2005.

Check http://ljusberg.se/blogs/smorakning/archive/2006/07/05/vwd.webinfo.aspx


The file still exists in Visual Studio 2015. It contains some of the settings when you right-click on a Web Site project in Solution Explorer and choose Properties Window.

Here is what mine looks like.

<?xml version="1.0"?>
<!-- 
  Visual Studio global web project settings.
-->
<VisualWebDeveloper>
  <iisExpressSettings windowsAuthentication="enabled" anonymousAuthentication="disabled" useClassicPipelineMode="false"/>
</VisualWebDeveloper>

That looks like something that should be included in source control but does not need to be deployed to a webserver.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜