Marco Trova's weblog

Italian .NET life

July 2003 - Posts

Status: This behavior is by design.

INFO: SSAFE: Renames and Deletions Not Supported for Source Code Control Through the Visual Studio .NET IDE

The MSSCCI interface that Visual Studio .NET uses to integrate with Microsoft Visual SourceSafe does not support renames or deletes. Renames or deletions that are made within Visual SourceSafe do not propagate to the Visual Studio .NET integrated development environment (IDE) until a Get Latest Version is performed.

This is also true if an item is renamed or deleted within the Visual Studio .NET IDE. The deletion or rename does not propagate to the Visual SourceSafe database. In the case of a rename, a new file with a separate history is added to Visual SourceSafe.

[Q305516]

It's a feature, not a bug!
ASP.NET Applications without Web Projects

Fritz Onion has wrote a litte article about not using Web projects to build asp.net applications:

The Web Project wizard in Visual Studio .NET is convenient for creating quick ASP.NET applications on your local machine, but in an effort to simplify your life, it also makes many decisions for you that are difficult to change if you need more flexibility. My biggest pet peeve with Web Projects is that you cannot even open a .sln file if the virtual directory mapping in IIS is not set up correctly. I also dislike the way it places .sln and .csproj | .vbproj files in a separate location from the actual source files (I understand that this is necessary to allow application creation directly on a server, but I never deploy that way).

As a result, most of my web projects are created as standard class library projects. Unfortunately this means that you don't get the nice Web component wizards (like WebForms and UserControls). However, with a little tweaking, you can have it all.  I have prepared this document describing how to enable these wizards in class library projects (thanks to Dan Sullivan for pointing out how to do this), as well as how to convert existing Web Projects to class library projects and still keep the nice integrated debugging.

I usually modify .webinfo file to reflect current virtual/site settings..

More Posts