IBM Support

About Microsoft Visual Studio Source Control Bindings messages

Troubleshooting


Problem

This technote explains why attempts to open a Microsoft® Visual Studio.NET Solution that is under IBM® Rational® ClearCase® source code control after ClearCase has been upgraded results in a warning message requesting that the bindings be removed from the project.

Symptom


Upon use of a new view that is created after upgrading to ClearCase 2003.06.16 or 7.0, attempts to open a Microsoft Solution that has many projects results in VS.NET requesting that each *.csproj file in the solution be checked out.

Example:

The first warning message appears upon opening the project:

Microsoft Visual Studio
!  The source control provider associated with this solution could not be found.  The projects will be treated as not under source control.

Do you want to permanently remove the source control bindings from this project?




Note: Click Yes to this question.


The next warnings appear for each *.csproj file in the Solution:

Microsoft Visual Studio
!  The command you are attempting cannot be completed because the file '<project>.csproj' that must be modified cannot be changed.  If the file is under source control, you may want to check it out; if the file is read-only on disk, you may want to change its attributes.






Another binding related error you may see reads as follows:

Source Control
X  The solution appears to be under source control, but its binding information could not be found.  It is possible that the MSSCCPRJ.SCC file or another item that holds the source control settings for the solution, has been deleted.  Because it is not possible to recover this missing information automatically, the projects whose bindings are missing will be treated as not under source control.

Cause

This is expected behavior.

Resolving The Problem

There were enhancements made to the integration with .NET and as a result, certain changes needed to be made to the .csproj file after upgrading.


Click Yes to the Solution Warning to remove the bindings and process the changes for each project file.




Below is a before and after look at the differences with the .csproj file after upgrading ClearCase.


BEFORE:



AFTER:



[{"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Integrations: Visual Studio.NET","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.0.0.1;7.0;2003.06.16","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 June 2018

UID

swg21252225