Visual Studio Development Bookmark and Share   
 index > Visual Studio Extensibility > how could i stop the package load anazlyer
 

how could i stop the package load anazlyer

how could i stop the package load anazlyer.
or reset the result directory.

nsenz  Thursday, September 24, 2009 2:12 AM
Hi, nsenz
Sorry for the lately reply, now I know your need, although the picture you posted is not availible now.
I have not found a better way for uninstalling the Package load Analyzer, but as far as I know the Package load Analyzer is a vspackage created by Microsoft. So We can prevent the Vspackage from loading by modify the registry information.
1. Open your regedit andexpand HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\Packages.
2. Find the GUID {2d07be9e-24a0-48d9-816f-06d1e85c2849}(this Guid is the guid ofpackage load Analyzer), and click export, this will make a backup ofthe information ofAnalyzer.
3. right click the GUID,Select Delete.
Hope this could help!
thanks.
Chao
Chao Kuo  Wednesday, September 30, 2009 7:36 AM
Those two folders are created by the .net framework when fusion log binding is enabled. The package load analyzer should have turned these off after analyzing your package.

However, you can also turn this off by running the fuslogvw.exe utility. Select the "Settings..." button, then select the "Log disabled" radio button, then close the fuslogvw.exe utility. This will reset the registry settings responsible for turning on the fusion logging.

The fuslogvw.exe utility should be in your program files\Microsoft SDKs\Windows\v6.0A\Bin folder.

Sincerely,
Ed Dore
Ed Dore  Saturday, October 10, 2009 8:26 AM
Hi,
What do you mean by stopping the Package load analyzer? Do you mean unistall the package load analyzer? And What do you mean by reset the result directory? Could you provide more information?
Thanks
Chao
Chao Kuo  Friday, September 25, 2009 6:59 AM
o thanks i means i run Package load analyzer one time it create two Directory for store the analyzed result eg: (Default) and (NativeImage) .
the directory of (Default �not only include the devenv.exe's analyzed result but also they other (like the outlook.exe's analyzed result�br/>i want to know when i run the visual studio not allow the Package load Analyzer to run automatic.

nsenz  Monday, September 28, 2009 1:04 AM

Hi,Nsenz

Do you mean the package load analyzer is the tool window appeared after you installing visual studio 2005/2008SDK?Because it isa tool window,after closing it, the next time you open Visual studio, it will notload automatically. It is not createduntil first time you invoke it.
If I misunderstood you, or have something unclear feel free to let me know.
Thanks
Chao

Chao Kuo  Monday, September 28, 2009 8:11 AM
yes it is the 2008 SDK like this

thefirst time i click the Package Load Analyzer will ask me where to save the analye result.
the tool create two folder like this
in the folder
in the NativeImage folder

I Delete the two folder, but the next time when i run the VisualStudio2008 it will create the two folder again. and not only watch the Devenv.exe only but also there other .exe
i want to know how could i stop the Package Load Analyzer to analyze the .exe and not create the two folder too.

i want not to uninstall the vs2008 SDK.
nsenz  Tuesday, September 29, 2009 9:08 AM
Hi, nsenz
Sorry for the lately reply, now I know your need, although the picture you posted is not availible now.
I have not found a better way for uninstalling the Package load Analyzer, but as far as I know the Package load Analyzer is a vspackage created by Microsoft. So We can prevent the Vspackage from loading by modify the registry information.
1. Open your regedit andexpand HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\Packages.
2. Find the GUID {2d07be9e-24a0-48d9-816f-06d1e85c2849}(this Guid is the guid ofpackage load Analyzer), and click export, this will make a backup ofthe information ofAnalyzer.
3. right click the GUID,Select Delete.
Hope this could help!
thanks.
Chao
Chao Kuo  Wednesday, September 30, 2009 7:36 AM

i delete the regeidt GUID {2d07be9e-24a0-48d9-816f-06d1e85c2849}
the package analyzer  not in the visual studio menu;
but the two folder  still be created,  when i run other .exe(eg: outlook.exe ) ;
may be the analyzer had inject into the system when run any .exe file.

nsenz  Friday, October 09, 2009 1:54 AM

I'm still unclear as to what the specific problem is. What folders are being created and what sort of files are being written to them? I suspect you may be seeing a feature where the fusion logging has been turned on, where .NET logs binding attempts and failures.

Can you elaborate a bit more on exactly what you are seeing here? Note the images in your previous post did not come through. Can it be translated to English?

Thanks,


Ed Dore
Ed Dore  Friday, October 09, 2009 4:14 AM
here is what the Package load Analyzer
-----------------------
 the Package load Analyzer is a vspackage created by Microsoft. So We can prevent the Vspackage from loading by modify the registry information.
1. Open your regedit and expand HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\Packages.
2. Find the GUID {2d07be9e-24a0-48d9-816f-06d1e85c2849}(this Guid is the guid of package load Analyzer), and click export, this will make a backup of the information of Analyzer.
--------------------------

first time i invoke it, it create two folder(Default and NativeImage).  then when i run any .exe file it will invoke the analyzer store the result of the analyed in to the two folder.

eg.

in the folder  (Default) there is a sub folder (outlook.exe ï¼?had one file (msosec, Version=7.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.HTM)

in the folder (NativeImage�there is a sub folder (outlook.exe )had three files like
(
mscorlib.resources, Version=2.0.0.0, Culture=zh-CHS, PublicKeyToken=b77a5c561934e089.HTM
mscorlib.resources, Version=2.0.0.0, Culture=zh-CN, PublicKeyToken=b77a5c561934e089.HTM
msosec, Version=7.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.HTM
)

how could i stop the Analyzer to create the file or the question is how could i stop the analyzer run  when i invoke any file of .exe.
nsenz  Saturday, October 10, 2009 1:54 AM
Those two folders are created by the .net framework when fusion log binding is enabled. The package load analyzer should have turned these off after analyzing your package.

However, you can also turn this off by running the fuslogvw.exe utility. Select the "Settings..." button, then select the "Log disabled" radio button, then close the fuslogvw.exe utility. This will reset the registry settings responsible for turning on the fusion logging.

The fuslogvw.exe utility should be in your program files\Microsoft SDKs\Windows\v6.0A\Bin folder.

Sincerely,
Ed Dore
Ed Dore  Saturday, October 10, 2009 8:26 AM
Thanks; it is very good!
nsenz  Thursday, October 15, 2009 5:53 AM

You can use google to search for other answers

Custom Search

More Threads

• ToolboxInstaller for both CF and "desktop" version of the same assembly
• Doubt in database(sql/oracle) access from shell
• Nested Shapes
• How to generate Hashtable like collection?
• Notification to VS Package of files being checked out or in using TFS
• Project SubType chaining - VS 2005 Web Projects
• Removing Web site menu item in Shell Isolated
• Adding new property page Visual studio 2005 - strange behavior
• Is VSTA extensible by VSPackages
• Data provider appearing in list sometimes