The microsoft.visualstudio.web.mvc.package.mvcpackage'package did not laod correctly.
-
Thursday, July 26, 2012 4:49 AM
Hi guys
I am using Visual Studio Ultimate 2010 and facing folliowing Error (1-Left)when opening project and (2-Right)other when i create new MVC 4 project i get secondon one.
Kindly provide solution:
WSBukhari
All Replies
-
Friday, July 27, 2012 7:59 AMModerator
Hi WSBukhari,
Thank you for posting in the MSDN forum.
Based on your description, it seems that it is not the code Analysis tool issue.
My suggestions:
1. Try to create other apps, and check the result, if other apps works, just the MVC 4 projects have this issue. See Step2.
2.
1) Please open Windows Explorer, and navigate to <Visual Studio Installation Path>\Common7\IDE (by default is C:\Program Files \Microsoft Visual Studio 10.0\Common7\IDE);
2) Delete the ItemTemplatesCache, ProjectTemplatesCache folder;
3) Open Visual Studio Command Prompt (2010) under Start menu -> All Programs -> Microsoft Visual Studio 2010 -> Visual Studio Tools (run it with Administrator privilege: right-click the program -> Run as administrator);
4) Run the devenv /InstallVSTemplates switch;
5) Run the devenv /Setup switch
6) Then try to install the package which is related to the MVC4 again.
3. If still no help, since the MVC4 project is related to the ASP.net, I suggest you post this issue in http://forums.asp.net where asp.net experts live in.
Best Regards,
Jack Zhai [MSFT]
MSDN Community Support | Feedback to us
-
Friday, July 27, 2012 11:36 AM
Try to create other apps, and check the result, if other apps works:
When i open new project other than MVC: it prompts me:
WSBukhari
-
Monday, July 30, 2012 5:13 AMAny Update on this?
WSBukhari
-
Monday, July 30, 2012 6:51 AMModerator
Hi WSBukhari,
Do you mean that it has the same issue when you create a simple app?
If all projects have the same issue, then I doubt that it would be the Visual Studio problem.
If possible, you could locate to the IDE folder then run these commands, or you can set path to the system environment.
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE
Devenv.exe /SafeMode: Launches the IDE in safe mode loading minimal windows.
Devenv.exe /ResetSettings: Restores the IDE's default settings, optionally resets to the specified VSSettings file.
Devenv.exe /ResetAddin: Removes commands and command UI associated with the specified Add-in.
Devenv.exe /ResetSkipPkgs: Clears all SkipLoading tags added to VSPackages.
After these, you can create a new project and check it.
If this issue is also exists, I’m afraid that you need to reinstall the vs2010.
1. Uninstall vs2010.
2. Clean the registry and files on disk.
3. Install vs2010.
4. Create the new solution in a new workspace.
Best Regards,
Jack Zhai [MSFT]
MSDN Community Support | Feedback to us
- Marked As Answer by Jack Zhai - MSFTMicrosoft Contingent Staff, Moderator Monday, August 06, 2012 5:52 AM

