C# IDE Problem...

Locked C# IDE Problem...

  • jeudi 19 avril 2012 01:49
     
     

    I don't know if this is the right place, but I seem to be having a problem with the "Add New File" dialog, in Visual C# (IDK if this is tied to the rest of Visual Studio though).  When ever I try to add a new file from the solution explorer, or anywhere for that matter, I get this lovely error message:

    I don't know the cause, and it was working fine 5 minutes beforehand.  I tried restarting, etc. Any help?

Toutes les réponses

  • jeudi 19 avril 2012 13:48
    Modérateur
     
     

    This would indicate an issue with instantiating an instance of the WPF FlowDocumentScrollViewer control on a window.  What item are you trying to add to the project and what type of project is it?

    Michael Taylor - 4/19/2012
    http://msmvps.com/blogs/p3net

  • jeudi 19 avril 2012 21:57
     
     
    It occurs whenever I try to open the "New Item" dialog.  But the specific item I want to add is a class, though this does occur every time instead of the actual dialog opening.  The project is an XNA 4.0 Windows Game Library, but this error does occur everywhere else in VStudio.
  • vendredi 20 avril 2012 13:58
    Modérateur
     
     Traitée

    It sounds like your installation has been corrupted.  Try uninstalling XNA, repairing the VS SP1 installation and see if the problem goes away.  If it does then reinstall XNA and see if the problem comes back.

    Michael Taylor - 4/20/2012
    http://msmvps.com/blogs/p3net