Browse by Tags
All Tags »
The strange case of... (
RSS)
As you know if you develop add-ins, Visual Studio 2005 introduced XML-based add-ins that use an .AddIn file that you must place in the proper folder for Visual Studio to show the add-in in the Add-In Manager . Which XML parser Visual Studio uses to parse...
It took me quite a lot of time to fix the problem of Error 0x80070002 "The system cannot find the file specified" using PEVerify.exe to verify add-in with referenced assemblies from Visual Studio not in the GAC . I found the problem yesterday...
These days I have been playing a lot with resource images in managed satellite dlls and one thing that I was noticing sporadically was that the Add Resource \ New Image menu on the toolbar of the document window of a resource.resx file was empty, while...
I started programming in the old times of 16-bit MS-DOS, where you had only 640 KB of memory, and you had concepts like "expanded memory" and "extended memory" and memory bank switching to use more than 640 KB and then wonderful things...
I received the following bug report from a customer: System.IO.FileNotFoundException: File or assembly name Microsoft.mshtml, or one of its dependencies, was not found. My MZ-Tools add-in references this component. Actually it doesn't use it (it was...
Visual Studio add-ins are not very friendly when trying to auto-update them (at least as of Visual Studio 2008), so when deploying an add-in for internal use within an organization, one creative idea is to put the assembly dll in a shared network folder...
Today I have solved a problem that was bugging me for months. I was aware of it but I hadn't paid much attention to it (because I knew it was not a problem of my MZ-Tools add-in) until today, when I decided to take a closer look. The problem was the...
Don't you love when Visual Studio severely crashes? I really hate those moments because I am always afraid that if it is a problem of VS and not a problem in my code, I am in trouble... Some time ago I explained The strange case of Visual Studio 2008...
(Or why it is a bad idea for an add-in to add add-in file paths to Visual Studio) When Visual Studio 2005 introduced XML-based add-ins, which used an .AddIn file rather than COM registration), rather than providing just two fixed folders to place such...
Some months ago a customer of my MZ-Tools add-in reported a crash in Visual Studio 2008 Team Suite when loading it. When an add-in crashes loading it, usually Visual Studio captures the exception or COM error and shows a semi-friendly messagebox indicating...
Visual Studio preserves the visibility state of its own toolwindows (Solution Explorer, etc.) but not of toolwindows created by add-ins. It is up to the add-in to store the state of its toolwindows when unloaded, and restore them when it is loaded again...
If you are creating a setup for your Visual Studio add-in, chances are that you don't want running instances of Visual Studio when the add-in is going to be installed or uninstalled. For my MZ-Tools add-in , I use the free InnoSetup , which is script...
A developer posted a couple of days ago in the MSDN forum about Visual Studio Extensibility that loading his add-in caused and exception with error number <Unknown Error> (8013141A) . Of course, searching with Google doesn't always offer much...
There is a problem that I have never experienced but it was happening for a few people in Visual Studio 2005 / 2008. The symptoms were: - The Add-In Manager is empty - The Add-In only shows registry-based add-ins, not XML-based add-ins (using an .AddIn...
Continuing today with some tests about the The OnConnection method and ext_ConnectMode.ext_cm_UISetup of Visual Studio add-ins of my last post , I created a sample add-in using the code of the first sample (temporary UI) of my article HOWTO: Adding buttons...
Some days ago I received an angry complaint from a prospect of the trial version of my MZ-Tools add-in, who uninstalled it because, somehow, he didn't want the add-in loaded at startup during the evaluation period but he wanted to load it manually...
A couple of days ago another customer of my MZ-Tools add-in reported this exception: "System.BadImageFormatException: Could not load file or assembly 'Microsoft.mshtml, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'...
I was getting the error "Package 'Visual Studio Explorers and Designers Package' has failed to load properly" when working with add-ins in VS 2008 since a couple of days ago, along with "COM object that has been separated from its...
Many months ago I reported to Microsoft through Microsoft Connect an InvalidCastException that happened when using the EditPoint.FindPattern with .sql files of a database project of Visual Studio 2008 Team Suite (or VS 2008 Edition for DB Professionals...
Today I received a bug report for a new customer of my MZ-Tools add-in for Visual Studio (who purchased directly the product without trying the trial version) and the first thing that he encountered when running the setup was: System.UnauthorizedAccessException...
More Posts
Next page »