Unable to run VS2010 or VS2008
I have VS 2008 installed to a win 7 pc and have now installed VS2010 Beta 2. The installation went without a hitch no errors reported. However when I try to run and load a project in VS2010 i get the following error before crashing:-
The 'VSDebugPresentationPackage, Version 10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11D50a3a' package did not load correctly.
Problem may be caused by a configuration change or installation of another extension.
Run the application with /Log on the cmd line and examine the file ....AppData\Roaming\Microsoft\VisualStudio\10.0\ActivityLog.xml.
Any ideas on where and what I should run???
Secondly I can no longer load a project in VS2008. I get the following error:-
Unable to read the project file <filename>
MSBuildToolsPath is not specified for the 'Tools Version 4.0' defined at
'HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\MSBUILD\TOOLSVERSION\4.0,
or the valuespecified evaluates to the empty string.
Any ideas please.- Moved byAaronru - MSFTMSFTWednesday, October 28, 2009 6:49 PMpackage load issue (post installation) (From:Visual Studio 2010 Install and Setup)
All Replies
- Yes! I got the same problem except that the package "did not load correctly" on my side is the "Visual Studio XML Editor Package" and some "Entity framework package..."
First I thought it would be some conflict between VS 2010 and VS2008. So, I uninstall VS2008 and everything I can see related to VS... but it does not turns any better.
Please help us. Thanks. Following the exception message, I checked "C:\Documents and Settings\Administrator\Application Data\Microsoft\VisualStudio\10.0\ActivityLog.xml". In this file, I saw 2 errors at the buttom:
486 ERROR CreateInstance failed for package [Visual Studio XML Editor Package] {87569308-4813-40A0-9CD0-D7A30838CA3F} 80070002 VisualStudio 2009/10/23 05:38:27.375
This is the root cause of the problem. But I get no idea of why VS cannot load the package. I delete all the thing related to Ioc and DI, such as Enterprise Library 4.1. But still no luck.- Proposed As Answer byDmitry GoncharenkoMSFTWednesday, October 28, 2009 8:53 PM
- HRESULT 80070002 in the error means "The system cannot find the file specified." Could you use the Assembly Binding Log Viewer (http://msdn.microsoft.com/en-us/library/e74a18c4(VS.71).aspx) to diagnose which file cannot be found?
- Proposed As Answer byDmitry GoncharenkoMSFTWednesday, October 28, 2009 8:56 PM
Thanks Dmitry. After trying without luck, I reinstiall VS2010 on a clean Windows XP and then it works... Seems I had some other softwares that not go well with VS2010.
Hope this problem is not very common.
Max

