Wednesday, September 7, 2011

.NET Preprocessor Visual Studio 2010 Add-In Update

NTSTATUS: STATUS_DOTNET_MACRO

Here’s a new version of VSDotNetPP: Version 0.2.0.0. It can be downloaded here.

Major updates and additions in this version:

  • Macros in open documents are now expanded in the file itself, therefore eliminating the previous message saying that the file has been updated outside the editor. This makes ‘Restore Macros In Source’ practical, but still not recommended
  • Context-menu item to expand macros. This expands all macros in the current document.
  • DOTNETPP.EXE is no longer included in the install

‘Expand Macros’ in context-menu:

Expand Macros

As before, building will automatically expand the macros. If ‘Restore Macros In Source’ is set, then the macros will be restored in the document after the build is completed.