Microsoft KB Archive/906767

= You receive an error message when you try to create a new namespace that is named my in a Visual Basic 2005 project =

Article ID: 906767

Article Last Modified on 5/11/2007

-

APPLIES TO


 * Microsoft Visual Studio 2005 Standard Edition
 * Microsoft Visual Studio 2005 Professional Edition
 * Microsoft Visual Studio 2005 Express Edition
 * Microsoft Visual Studio 2005 Team System Architect Edition
 * Microsoft Visual Studio 2005 Team System Developer Edition
 * Microsoft Visual Studio 2005 Team System Test Edition

-





SYMPTOMS
When you try to create a new namespace that is named my in a Microsoft Visual Basic 2005 project, you receive an error message that is similar to the following:

Casing of namespace name 'my' does not match casing of namespace name 'My' in file '17d14f5c-a337-4978-8281-53493378c1071.vb'



STATUS
This behavior is by design.



MORE INFORMATION
The My namespace is new in Visual Basic 2005. The My namespace is designed to simplify programming. Members of the My namespace have default configurations that support common programming scenarios. The APIs in the My namespace reduce the number of lines of code that are needed to complete common programming tasks. The My namespace resides under the root namespace of a Visual Basic 2005 project in an in-memory file. You can make the following modifications to the My namespace:
 * You can add members.
 * You can add classes.
 * You can extend event models.
 * You can reconfigure existing members.
 * You can redefine types.

