M-A's

technology blog

Friday 12 June 2009

Boris Jabes (MS) told me that Visual Studio macros can be saved as UTF16 text file. I was shocked. How the hell I was ignoring that functionality, but it seems I'm not alone by the sheer number of hits when searching for [vsmproj] on the web (e.g. less than 100 except on Yahoo)

So here's how to convert your binary .vsmacros to utf16 .vsmproj project.

1. Open Macro Explorer in Visual Studio
2. Select a project or create a new one
3. Open the Properties Window (Alt+Enter)
4. In the properties, change the "storage format" from "binary (.vsmacros)" to "text (unicode)"

That is much more useful for sharing macros in a source control.

No comments: