I never heard/nor felt its need in 3.5 years at my previous job. But these days I seem to use it fairly often!
Dotnet has this PerformanceCounterInstaller class where you define various attributes and counters that you want to expose for you app. Then call installutil
However, installutil is not used in production setups as selfreg has a whole range of issues to handle and the unmanaged equivalents (lodctr stuff via provided custom actions in the setup tools) are generally used.
So for setup we needed to figure out the dotnet specific registry entries + the ini files that we give to lodctr. Setup the debugger to launch on invocation of lodctr by:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\lodctr.exe]
"Debugger"="c:\\debuggers\\windbg.exe "
Then invoked installutil
No comments:
Post a Comment