Friday, May 13, 2011

About Devenv /ResetSkipPkgs cmd

Well, After couple of days, back with one small information (but for me it's big matter), 
Coming to the topic..
I am working on one application which is in VS2008 and FW 3.5, all of sudden my laptop got many conflicts and could not able to open VS2005 TFS and 2008 application, while opening the 2008 application it's showing ' can't open the .csproj file...etc like that' and showing some error messages like 'package loading is failed..' like that which seems irrelevant to me , as i had worked before on 2008 application with the same system. Could not get the exact reason, uninstalled the framework 3.5 and VS 2008 and installed again. But no luck. Irritated, after couple of hours google help i got one command to execute at run prompt 'Devenv /ResetSkipPkgs' , surprisingly it works for me. After executing this command i could able to open my VS 2008 solution. Immediately i am putting information here hoping that will helpful to some one. (Just thinking  if there is no google how would be our situation ???)

Then started searching about this command Devenv /ResetSkipPkgs,

whats exactly its doing ?  It clears all SkipLoading tags added to VS Packages by users wishing to avoid loading problem VSPackages. Because of any improper installations or if any internal visual studio packages are got conflicted it failed to load the packages. And it could be cause for improper projects loading during open. In order to avoid this kind of problems. It just needs to re-enable package loading. So this command will re-enable every disabled/problem package.

See you with another information.


Thanks and Regards,
Ravikiran


No comments:

Post a Comment