Browse by Tags
All Tags »
MZ-Tools Articles Series (
RSS)
Sorry, but there are no more tags available to filter with.
And yet another bug in the file code model of C# that happens with events: BUG: EnvDTE.CodeFunction.Parameters causes COM exception with C# event add/remove methods in Visual Studio macros or add-ins: http://www.mztools.com/articles/2009/MZ2009019.aspx...
Another bug of the file code model for C#: BUG: EnvDTE.CodeFunction.Attributes doesn't work with C# property get/set methods in Visual Studio macros or add-ins http://www.mztools.com/articles/2009/MZ2009018.aspx It happens too in VS 2010 Beta 1, I...
Another bug that I have found today: BUG: C# indexers are not mapped to EnvDTE80.CodeProperty2 in Visual Studio macros or add-ins http://www.mztools.com/articles/2009/MZ2009017.aspx It only happens in VS 2005 and VS 2008. Curiously it is alrady fixed...
This is a bug that I have found twice in the last couple of days: EnvDTE.CodeElement.GetStartPoint(vsCMPart.vsCMPartBody) returns wrong result for VB.NET classes using the Implements or Inherits clauses http://www.mztools.com/articles/2009/MZ2009016.aspx...
This gets asked from time to time in the forums so I wrote a sample code about it: HOWTO: Get the output build folder from a Visual Studio add-in or macro http://www.mztools.com/articles/2009/MZ2009015.aspx
If you are trying to retrieve attributes in the assemblyinfo file, it's better to use the ProjectItem.FileCodeModel rather than the Project.CodeModel: BUG: EnvDTE.Project.CodeModel doesn't retrieve attributes in the AssemblyInfo file http://www...
I am currently working on a new version of MZ-Tools and yesterday I updated its build script. When running it, to my surprise, I found the following error in the step that verifies the assembly with the peverify.exe tool after the obfuscation step: Error...
I have updated the following MZ-Tools Series articles to fix/explain better some things, provide C# code some cases, cover Windows Vista folders, cover Visual Studio 2008/2010 in some other cases, etc: HOWTO: Removing commands and UI elements during Visual...
This bug that I commented in a previous blog entry and that I reported to Micorosoft through Microsoft Connect is not going to be fixed in the next version VS 2010: Add-in causing stack overflow causes "Microsoft Visual Studio has encountered a problem...
When you create your Visual Studio extension, whether an add-in or package, likely you test it most of the time against project types provided by Visual Studio out of the box, such as VB.NET/C# projects, smartdevice projects, database projects, etc. Long...
This is another problem that was bugging me for quite some time: if an add-in uses a temporary user-interface rather than a permanent one when adding buttons to a built-in toolbar of Visual Studio, the add-in must remove the buttons when unloaded, typically...
I am these days trying to create a single .NET application that can automate all the Visual Studio versions installed on a machine (from Visual Studio .NET 2002 to Visual Studio 2010). For that purpose I have created a .NET application using Visual Studio...
Almost a couple years ago I wrote an article The Add-In Manager of Visual Studio 2005 got broken...and won't be fixed for SP1 and while Visual Studio 2008 fixed that problem, it has introduced a new one when running on Windows Vista, and guess what...
Last year I wrote a quite popular article HOWTO: Troubleshooting Visual Studio and Office add-ins , to diagnose many common problems with add-ins for Visual Studio or even Office. One invaluable tool to diagnose a whole range of problems with an add-in...
I have updated the article that I wrote back in January about default folders to place .AddIn registration files for add-ins to include actual examples for Windows Vista since the original article only showed Windows XP examples. I have also provided...
It is conspicuous that the EnvDTE80.ErrorItems collection introduced by VS 2005 lacks an Add method to add errors to the ErrorList, so it was a common belief, apparently even within Microsoft and also mine until recently that only SDK packages can add...
To deal with international versions of Visual Studio and other Microsoft products (such as Office) has always been tricky. I think to remember that many years ago some version of Excel went as far as localizing the VBA statements (or macro language before...
The question "How do I retrieve a Command from a CommandBarControl?" has been posted in the forums at least a couple of times and my answer always was "It's not possible" because the CommandBarControl lacks a Command property,...
I have been struggling during the last weeks to get 32x32 icons from Office 2007 and yesterday I found the 2007 Office System Add-In: Icons Gallery . Also, a question that appears from time to time in the forums is how to get the numerical indexes of...
Visual Studio allows a rich customization of its user interface and, alas, it can affect your add-in. This new article of mine examines some common customization scenarios and how your add-in can handle them more or less gracefully: HOWTO: Handling buttons...
More Posts
Next page »