R – How to view differences in VS2008 before checking a file into SourceSafe

asp-classicversion controlvisual-sourcesafevisual-studio-2008

We have an old Classic ASP application that we have been using Visual Studio 6 to maintain. This has worked fine, but we're ready to step out of the stone age and I'd like to see if I can use Visual Studio 2008 (SP1) to maintain the application.

In the past, multiple developers could work on the application and it was under source control. We had FrontPage Server Extensions (FSE) installed on the web server and there was some sort of three-way integration between Visual Interdev on the client, FSE on the web server, and the SourceSafe database that let us check files in and out through Interdev. Files were checked out to the web server, not to the client. And when checking a file back in through Interdev, we could press a "Diff" button to review the changes to the file before checking it in.

Now I have installed Visual Studio 2008 (SP1) and I'm trying to get the same functionality. I used File/Open Web Site/Remote Site to bring the project up. This works fine and I am able to check files in and out. However, the option to view the differences is disabled. Also, when I enter a comment on the Check-In dialog window, the comment gets ignored. In other words, if you use the SourceSafe standalone client to look at the history of the file, the file gets checked in properly, but there is no comment.

In VS2008 after I check out a file, when I right-click on it, the "Compare" and "View History" options are disabled. Also, if I click on the Check-In option, the Compare Versions button in the Check-in dialog is disabled. Is there any trick to enabling the Compare option?

Best Answer

Make sure your solution is bound to source control correctly (File -> Source Control). Also check the Source control settings in the options dialog, making sure the correct provider is selected.

If you create a new project (.NET) and add it to source control, do the functions work?