Home Dashboard Directory Help
Search

"Invalid Pointer" error deleting configurations in upgraded VS2010 C++ project files by MandatoryDefault


Status: 

Active


9
0
Sign in
to vote
Type: Bug
ID: 575911
Opened: 7/16/2010 2:11:16 PM
Access Restriction: Public
1
Workaround(s)
view
8
User(s) can reproduce this bug

Description

It's not possible to make configuration changes to some C++ project files that are upgraded from VC2005/VC2008 to VC2010. You get the error "The operation could not be completed. Invalid pointer"

The .vcproj C++ project files from Visual Studio 2005 and 2008 often have the following lines at the end:

        <Globals>
                <Global
                        Name="RESOURCE_FILE"
                        Value="MyApp.rc"/>
        </Globals>

When these are upgraded to Visual Studio 2010 .vcxproj files, those lines are translated to:

<ProjectExtensions>
    <VisualStudio>
     <UserProperties RESOURCE_FILE="app.rc" />
    </VisualStudio>
</ProjectExtensions>

The presence of the ProjectExtensions lines causes the "Invalid pointer" error message when you go to the Visual Studio 2010 Configuration Manager and attempt to remove a Configuration or a Platform.

This is a blocking issue because customers who don't read this bug report can't modify the configuration in their project.
Details
Sign in to post a comment.
Posted by Dvir Yitzchaki on 6/6/2013 at 2:03 AM
this also happens with other project extensions, for example on Qt projects:

<ProjectExtensions>
    <VisualStudio>
     <UserProperties QtVersion_x0020_Win32="$(DefaultQtVersion)" UicDir=".\GeneratedFiles" RccDir=".\GeneratedFiles" />
    </VisualStudio>
</ProjectExtensions>
Posted by Simon le Lutin on 3/30/2012 at 9:07 AM
Any update??
Posted by Microsoft on 7/23/2010 at 4:07 PM
We are taking a look at this now. We will update this bug as we make progress.
Posted by Microsoft on 7/16/2010 at 5:09 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Sign in to post a workaround.
Posted by MandatoryDefault on 7/16/2010 at 2:37 PM
Delete the ProjectExtensions block from the .vcxproj file. These lines are not generated by the VS2010 project wizard and so are not needed.
File Name Submitted By Submitted On File Size  
Dot.zip 7/16/2010 18 KB