Visual Studio .NET cannot open .vcproj files when some configuration settings are wrapped in quotation marks (329412)
The information in this article applies to:
- Microsoft Visual C++ .NET (2002)
This article was previously published under Q329412 SYMPTOMS When you try to open a Visual C++ .NET project, you receive
the following error message: Project <.vcproj pathname> failed to open. where <.vcproj pathname> is the path of the .vcproj file for the Visual C++ .NET
project. CAUSE The path in the Output Directory property in the Property Pages is wrapped in quotation marks (""). However, the IDE wraps the
path with an additional pair of quotation marks when it saves the settings back
to the .vcproj file. In addition to the Output Directory property, the Intermediate Directory property, and the Extensions to Delete on Clean property show the same behavior.RESOLUTION The settings for OutputDirectory, IntermediateDirectory, and DeleteExtensionsOnClean are stored in the .vcproj file. This is an XML file that you can
open with Notepad, or with any other text editor. To correct the configuration
setting strings, follow these steps:
- In Notepad, or a text editor of your choice, open the
.vcproj file.
- Find the attributes for OutputDirectory, IntermediateDirectory, and DeleteExtensionsOnClean in the Configuration section.
- Remove the extra quotation marks around the attributes of OutputDirectory, IntermediateDirectory and DeleteExtensionsOnClean.
- Save the file, and then close Notepad.
Note If there are multiple configuration sections in your .vcproj
file, remove the extra quotation marks from the attributes from all the
sections. STATUSMicrosoft has confirmed that this is a bug in the Microsoft
products that are listed at the beginning of this article.
This bug was corrected in Microsoft Visual C++ .NET (2003).
Modification Type: | Minor | Last Reviewed: | 1/12/2006 |
---|
Keywords: | kbfix kbide kberrmsg kbbug kbpending KB329412 kbAudDeveloper |
---|
|