Debugger & Forms Designer in Beta 2 fails

I was using C# Express Beta 1 for long time, today I installedC# 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

[1332 byte] By [SameerVartak] at [2008-1-28]
# 1
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
TheOneFD at 2007-8-21 > top of Msdn Tech,Visual Studio Express Editions,Installing and Registering Visual Studio 2005 Express Editions...
# 2
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.

MarcD at 2007-8-21 > top of Msdn Tech,Visual Studio Express Editions,Installing and Registering Visual Studio 2005 Express Editions...
# 3
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
rgerbig at 2007-8-21 > top of Msdn Tech,Visual Studio Express Editions,Installing and Registering Visual Studio 2005 Express Editions...
# 4
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.
TheOneFD at 2007-8-21 > top of Msdn Tech,Visual Studio Express Editions,Installing and Registering Visual Studio 2005 Express Editions...
# 5
I am having the same issues as original post.
hjb3 at 2007-8-21 > top of Msdn Tech,Visual Studio Express Editions,Installing and Registering Visual Studio 2005 Express Editions...
# 6
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

SameerVartak at 2007-8-21 > top of Msdn Tech,Visual Studio Express Editions,Installing and Registering Visual Studio 2005 Express Editions...
# 7
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!!
LeRoi at 2007-8-21 > top of Msdn Tech,Visual Studio Express Editions,Installing and Registering Visual Studio 2005 Express Editions...
# 8
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.
ralphje at 2007-8-21 > top of Msdn Tech,Visual Studio Express Editions,Installing and Registering Visual Studio 2005 Express Editions...
# 9
Thank you ralphje! This is what I needed!!
-will,
LeRoi at 2007-8-21 > top of Msdn Tech,Visual Studio Express Editions,Installing and Registering Visual Studio 2005 Express Editions...
# 10
Yeah thanks ralphje, it worked for me as well, saved me from formating my harddrive.
TheOneFD at 2007-8-21 > top of Msdn Tech,Visual Studio Express Editions,Installing and Registering Visual Studio 2005 Express Editions...
# 11
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
BenB at 2007-8-21 > top of Msdn Tech,Visual Studio Express Editions,Installing and Registering Visual Studio 2005 Express Editions...
# 12
I want to thank everyone here. These suggestions seemed to have fixed my problems.
Ken
kgs51 at 2007-8-21 > top of Msdn Tech,Visual Studio Express Editions,Installing and Registering Visual Studio 2005 Express Editions...
# 13
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

Sameer.V at 2007-8-21 > top of Msdn Tech,Visual Studio Express Editions,Installing and Registering Visual Studio 2005 Express Editions...
# 14
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
EricKnabe at 2007-8-21 > top of Msdn Tech,Visual Studio Express Editions,Installing and Registering Visual Studio 2005 Express Editions...
# 15

Thanks for that. It solved my problem as well. See Visual C++ Beta 2 problems.
Should I also delete the oldest of Microsoft.VisualStudio.TextManager.Interop.8.0? I have 2 of those as well.


DaveMullard at 2007-8-21 > top of Msdn Tech,Visual Studio Express Editions,Installing and Registering Visual Studio 2005 Express Editions...
# 16
I found it neccessary to uninstall the older duplicates of both Microsoft.VisualStudio.TextManager.Interop.8.0 AND EnvDTE80 - after that, I stopped getting error dialogs, everything seems to be working fine, including loading and rebuilding all of my Beta 1 existing apps.
EricKnabe at 2007-8-21 > top of Msdn Tech,Visual Studio Express Editions,Installing and Registering Visual Studio 2005 Express Editions...