Description of the unified binding root limitation in Visual Studio .NET 2002 and in Visual Studio .NET 2003 (896702)



The information in this article applies to:

  • Microsoft Visual Studio .NET (2003), Professional Edition
  • Microsoft Visual Studio .NET (2003), Enterprise Architect Edition
  • Microsoft Visual Studio .NET (2003), Enterprise Developer Edition
  • Microsoft Visual Studio .NET (2003), Academic Edition
  • Microsoft Visual Studio .NET (2002), Professional Edition
  • Microsoft Visual Studio .NET (2002), Enterprise Architect Edition
  • Microsoft Visual Studio .NET (2002), Enterprise Developer Edition
  • Microsoft Visual Studio .NET (2002), Academic Edition

INTRODUCTION

Microsoft Visual Studio .NET 2002 and Visual Studio .NET 2003 require that all files that are added to a project or that are part of the project should be under the binding root. Therefore, they will appear as under source control in the development environment. This is a limitation of Visual Studio .NET 2002 and of Visual Studio .NET 2003. It is not a limitation of the source control system.

MORE INFORMATION

Visual Studio .NET 2002 and Visual Studio .NET 2003 allow source control products to be integrated with the development environment through the Microsoft Source Code Control Integration (MSCCI). MSCCI requires that all files that are displayed as being under source control in the development environment should reside under the binding root.

The location of the binding root is determined when the project or the solution is added to source control. When the project or the solution is added to source control, the development environment sets the binding root to the lowest point in the folder structure that covers all the items in the project or the solution. You can only change this root by removing the project from source control and then adding it back to source control.

Therefore, when an item is a part of the project and the item is outside the binding root even if it is under source control, the development environment will display that the item is not under source control. All the source control providers must return "Not Controlled" for items that are outside the binding root. Otherwise, Visual Studio .NET will perform unpredictably.

You can still add items that are outside the binding root to the project. However, operations that are related to source control must be performed outside the development environment in the source control client. These operations may include check-in and check-out.

Visual Studio 2005 adds new source control integration through the Visual Studio Industry Partner (VSIP) program. If the source control provider uses this kind of integration, the binding root is no longer a limitation.

REFERENCES

For more information about the solution root for solutions that are under source control in Visual Studio .NET 2003, visit the following Microsoft Web site:

Modification Type:MinorLast Reviewed:4/19/2005
Keywords:kbVS kbhowto kbinfo KB896702 kbAudITPRO kbAudDeveloper