Debugger & Forms Designer in Beta 2 fails

I was using C# Express Beta 1 for long time, today I installed C# Express Beta 2 but after that I can not create WindowsForms project or open WinForms/Project Settings/Resources

When I try to create new WinForms project I get warning as follows
Package "Visual studio Settings and Project Designers package" has failed to load properly ( GUID = xxxxx) .... Would you like to disable loading of this package in future ..... <Yes> <No>

Ignoring this, Now when I try to open WinForm class (From newly created project) I get following error
Could not load type "Microsoft.VisualStudio.Shell.Interop.IVsRunningDocumentTable2" from assembly "Microsoft.VisualStudio.Shell.Interop.8.0, version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"

Ignoring this when I try to run the application(under debugger) IDE crashes, This also applies to my Applications(not empty ones but with lots of code and classes etc.) which ran perfectly happily under Beta 1

Please note that I also Visual Studio .net 2003 installed on my machine, but it has always been there even when I was using Beta 1 C# Express

Thanks in advance

Sameer 


Answer this question

Debugger & Forms Designer in Beta 2 fails

  • bhowerton

    Thanks VERY MUCH for the information! I wish I had checked the forum before trying re-installing a few times!Big Smile
    Regarding duplicate files in the assembly directory... there seem to be a lot of them, with the older ones in each pair sharing the same timestamp as the ones I deleted. Do you think that these might cause future problems as further assemblies happen to get called by my apps Sad

  • Pung Xu - MSFT

    Yeah thanks ralphje, it worked for me as well, saved me from formating my harddrive.

  • SSull

    I want to thank everyone here. These suggestions seemed to have fixed my problems.

    Ken

  • dhesmer

    I got the same problem with my VC# Express Beta 2.
    Furthermore when I start it up it already complains about different Packages which fail to load.
    The same problem occured in the latest VC# Express CTP as well, although I always uninstalled all other Versions of the Framework and the IDE.

    Thanks in advance

  • GeneralCody

    Damn, I reinstalled Windows just 3 days ago.
    I tried to remove all VS and .Net framework directories and files from the user settings manually, but that did not work either. I hope they will fix this issue until the final release.

  • awesum

    I am having the same issues as original post.
  • jemmyw

    Thank you ralphje! This is what I needed!!
    -will,

  • GreyBob

     LeRoi wrote:
    I know I'm not about to format my HD; To fix  this issue; I'm also having this promblem where i can not create projects now nor use the templated ones;
    I "HAVE" uninstalled everything properly, to no avail. Please Help!!
    Go to your assembly dir in your Windows directory. There you may find a duplicate Microsoft.VisualStudio.Shell.Interop.8.0. Delete the oldest version.

    Edit: Do the same with Microsoft.VisualStudio.Debugger.Interop if your debugger fails.


  • Dwi Pamudji

    This may help, from an earlier thread....

     Ben B wrote:
    I had that problem with the Febuarty CTP build.  The solution was to delete the following:

    C:\Documents and Settings\<your user name>\Application data\Microsoft\VCSExpress directory.

    C:\Documents and Settings\<your user name>\Local Settings\Application data\Microsoft\VCSExpress directory.

    and finally delete the registry key:
    HKCU\Software\Microsoft\VCSExpress

    Make sure you only delete the directories from under your user name (not the ones under All Users)  and that you are in the the H-Key Current User hive in the registry.  If you delete the keys under HKey Local Machine, you'll have to re-install VC#.   I'd delete the directories first, then check to see if that fixed the problem.   If not, delete the directories again (they'll have been rebuilt), and delete the registry key.  You'll most likely lose your settings in the IDE, but your projects will be unaffected.  

    Hope this helps,
    Ben

  • Cep

    Thanks for your reply,
    I've been playing these games on my laptop(I know its too silly, I should have used test machines) I'm on move for a month and can't format my machine just yet. I'm wondering about installing VS .net 2005 Standard Edition Beta 2. would it solve the problem

    My problem is we are working on a small project using Framework Beta 2 hence I must have some IDE supporting Beta 2.

    Suggestions pleaseBig Smile


  • Lance DH

    From my experience with the CTP drops they do not work very well when installed over one another even when the other versions were uninstalled.

    Your woes sound like the woes that come with installing one ctp after another.
    Now the Lab site does show specific instructions that state a specific order in which to uninstall the prior ctp. However It might be too late for you already.

    I would suggest reformatting and starting all over. If you have MSDN Subscriptions then I would advise using your 60-day trial versions as test beds since ms seems to be releasing drops atleast every 2 months.

  • MrNice01

    Thanks a lot Ralphje for giving me hand. u have saved me from formatting the machine and then installing everything again ....

    Thanks again
    SameerBig Smile

  • srinivas_kompally

    I know I'm not about to format my HD; To fix  this issue; I'm also having this promblem where i can not create projects now nor use the templated ones;
    I "HAVE" uninstalled everything properly, to no avail. Please Help!!

  • jpadilla

    Hi,

    I had the same problems with older versions after installing them one afte another whitout deleting my windows. I noticed that reinstalling windows allways helped on my systems


  • Debugger & Forms Designer in Beta 2 fails