Saturday, August 8, 2009

The filename, directory name or volume label syntax is incorrect in VS2005

I have been trying to start a new project in Visual C# Studio 2005 Express and keep getting the error:

the filename, directory name, or volume label syntax is incorrect. (Exception from HRESULT: 0x8007007B)

Solution : -

it appears that you cannot create a project within a path that has an ampersand (&) in it, which my original projects path did. In Tools/Options/Projects and Solutions/General, I selected the "Show advanced build configurations' option. This allows me to select the project build location on creation of a project, and I am now able to ensure it does not try to create in the path with the ampersand in it.

No comments:

Post a Comment