PatPhilippot

Hi,

I have a VS 2008 beta 2 Solution created by using the Visual Studio Shell wizard. This solution also contains a custom project VSPackage.

Whenever I hit F5, I get the following message:

Microsoft Visual Studio Shell Isolated
Cannot find one or more components. Please reinstall the application.

Ditto when using the VSSDK Assist | Utility | Launch VS on experimental hive command. I repaired the installation. Same result. I also have the same problem when loading and running SDK samples like the SampleDocViewEditor.

If I directly launch "deven.exe /rootsuffix Exp", there no problem and my custom project package is correctly loaded and runs.

I have no clue about what could be happening.

Thanks in advance.




Re: Visual Studio Extensibility "Cannot find one or more components" when hitting F5 or Ctrl-F5

PatPhilippot

Same problem after uninstalling VS 2008 beta 2 and replacing it with VS 2008 RC.






Re: Visual Studio Extensibility "Cannot find one or more components" when hitting F5 or Ctrl-F5

PatPhilippot

Hi,

The problem is caused by the /ranu switch in the debug properties of the project. If I remove it, the problem disappears. This switch doesn't seem to cause any problem under Vista but it is not accepted under XP.






Re: Visual Studio Extensibility "Cannot find one or more components" when hitting F5 or Ctrl-F5

PatPhilippot

Actually, it seems that there's a difference when VS 2008 is installed on Vista or on XP Pro. On the

XP system, I had to run vsregex GetOrig 9.0 Exp RANU first. Then I have been able to run devenv /rootsuffix Exp /setup /ranu and finally I could run the project with the /ranu switch.

Under Vista I didn't have to run vsregex GetOrig 9.0 Exp RANU first to create the HKCU branch. Everything worked fine the first time.

I suspect that the development teams are spending more time testing under Vista than under XP . Correct






Re: Visual Studio Extensibility "Cannot find one or more components" when hitting F5 or Ctrl-F5

alfalui

Hi everybody,

I notice the same problem when trying to launch Visual Studio 2005 on a Windows Server 2003.
Can you help me

I'm configuring it in a softgrid environment...





Re: Visual Studio Extensibility "Cannot find one or more components" when hitting F5 or Ctrl-F5

Carl Brochu - MSFT

In the latest VS2008 sdk, we added the /ranu switch to the creation of the experimental hive. This means that you have to use the /ranu switch everytime you use the experimental hive, or you will get the error you are seeing. This switch determines where VS should look for the settings in the registry.

It seems that on your first machine, the experimental hive was created without this switch or it failed during the creation of the ranu hive, so you are seeing the error message when you try to launch devenv with the exp hive along with the ranu switch. By executing the vsregex tool to create the ranu exp hive, you created this second hive, which fixed the problem.






Re: Visual Studio Extensibility "Cannot find one or more components" when hitting F5 or Ctrl-F5

Steve Maillet

I'm hitting this same problem on Vista. I've uninstalled the VS 2008 SDK, VS2008 and all related components and re-installed again (multiple times) I've run the vsreg.exe as described in this thread and I've done the devenv with the RANU switch and still nothing - it works perfectly on a differnt XP machine. How do I find out what it thinks is missing so I can get this resolved. Otherwsise this whole standalone shell is pretty worthless.





Re: Visual Studio Extensibility "Cannot find one or more components" when hitting F5 or Ctrl-F5

Carl Brochu - MSFT

The common issue when developping a VSShell on Vista is that you need to run Visual Studio as an Administrator. We are looking at fixing this issue as quickly as possible.

You should not need to reinstall VS or the VSSDK for any





Re: Visual Studio Extensibility "Cannot find one or more components" when hitting F5 or Ctrl-F5

Steve Maillet

Running VS as admin makes no difference at all. Is there something I have to do to get it to run my VSShellStub as admin too DOes that mean any usesr of my shell must run as admin or urn off UAC WTF doesn't anyone test this stuff before you ship it