A new article of my MZ-Tools articles series about a bug of VS 2005:
BUG: Adding a non-text file to a solution folder from a Visual Studio 2005 add-in or macro opens it
http://www.mztools.com/articles/2007/MZ010.htm
A new article of my MZ-Tools articles series about a bug of VS 2005:
BUG: Adding a non-text file to a solution folder from a Visual Studio 2005 add-in or macro opens it
http://www.mztools.com/articles/2007/MZ010.htm
A new article of my MZ-Tools articles series:
HOWTO: Troubleshooting Visual Studio and Office add-ins
http://www.mztools.com/articles/2007/MZ009.htm
A new article of my MZ-Tools articles series about a bug of VS 2005:
BUG: SolutionEvents.BeforeClosing event raised with no solution loaded in Visual Studio 2005 add-ins
http://www.mztools.com/Articles/2007/MZ008.htm
I spent quite a few hours yesterday dealing with an intriguing thing that hapenned two days ago while I installed Windows Vista in Spanish on a new computer. To my surprise, every setup that I tried suggested “C:\Program Files” (in English) as the default destination, instead of “C:\Archivos de programa” which is the localized Spanish name. I changed a few things, delete some folders and in the end I had to reformat the hard disk. So, after reformatting I verified that setups insisted on suggesting “C:\Program Files” as destination folder instead of the Spanish localization. How come? I investigated and here are my conclusions:
Why all these changes? Apart from the new unified MUI approach that dictates non-localized names on disk (only localized when displayed to the user) and that there is a stupid 260 character limit in paths that MS would like to fix and that makes long folders names like “C:\Documents and Settings” not very friendly, it seems that MS preferred safety on folder locations even it that means confusing the user and for that reason they changed the behavior of the Shell functions. So, the implementation model wins over the user mental model. Now we can only hope that new setups aware of this Vista problem fill the gap to show to the user only localized names like the Windows Explorer does, not actual names on disk.
There are some intriguing things about macros. One of them is how to add a custom assembly to the Add References dialog of the Project Explorer of the Macros editor. I have documented it in this article:
HOWTO: Add a custom assembly to the Add References dialog of Visual Studio macros editor
http://www.mztools.com/Articles/2007/MZ007.htm
Other one that I had noticed is that apparently breakpoints on environment event handlers (such as BuildEvents) are ignored. I have discovered that Craig Skibo documented how to debug event handlers it in the Wiki part (Community Content) of the MSDN documentation (http://msdn2.microsoft.com/en-us/library/h9b001cb(VS.80).aspx):
“To debug an event handler, set a breakpoint on the line of code within the event handler where you want execution of the event handler to break. Then, place the editor caret ourside the body of a function, subroutine or event handler, and press F5 to set the Macros editor into debug mode. Perform a task which would cause the event handler to be fired.”
If you are wondering how to create command names without the “.Connect” part in your Visual Studio addin (yes, even in VS 2005 using the XML .AddIn file without COM registration) see my new article:
HOWTO: Create command names without “.Connect” in Visual Studio add-ins
http://www.mztools.com/Articles/2007/MZ006.htm
A new article of my MZ-Tools articles series about a bug of VS 2005 SP1:
BUG: Add-ins not loaded from the command line in Visual Studio 2005 SP1
http://www.mztools.com/Articles/2007/MZ005.htm
A new article of my MZ-Tools articles series about the assemblies used in extensibility
INFO: Assemblies used in Visual Studio Extensibility
http://www.mztools.com/articles/2007/MZ004.htm
Visual Studio “Orcas” will feature a new Web Form designer codenamed “Quartz” based on FrontPage technologies replacing the one of Visual Studio 2005 codenamed “Trident” based on IE (MSHTML):
Sapphire: New Web Form designer in Visual Studio Orcas
http://blogs.msdn.com/mikhailarkhipov/archive/2007/01/20/sapphire-new-web-form-designer-in-visual-studio-orcas.aspx
If you have tried to make your Visual Studio add-in to work with WebForms or HTML pages, you know how difficult it is. So, I have opened a suggestion in the Microsoft Connect website for feedback:
Add extensibility support for WebForms/HTML forms in VS Orcas
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=254426
You can visit it and add your vote to my suggestion. Hopefully we can have a better extensibility for Webforms/HTML pages in VS Orcas. The February CTP will be the starting point to test it.
A new article of my MZ-Tools articles series about a bug of VS 2005:
BUG: Tooltip not set for add-in commands in Visual Studio 2005
http://www.mztools.com/articles/2007/MZ003.htm