Navigation:  Actions > Microsoft >

Visual Studio & .NET Macros

Previous pageReturn to chapter overviewNext page

The following global macros are defined for Microsoft Visual Studio and .NET Framework integration:

 

DOTNET_DIR

The path where the Microsoft .NET Framework (highest version) is installed.

 

DOTNETSDK_DIR

The path where the Microsoft .NET Framework SDK (highest version) is installed.  Most SDK tools can be called by using a Run Program step with a Command like %DOTNETSDK_DIR%\bin\TlbImp.exe or %DOTNETSDK_DIR%\bin\x64\TlbImp.exe for the 64-bit binaries. Custom actions for many SDK tools are also available.

 

DEVSTUDIO_NET_DIR

The base path where Visual Studio (.NET 2002 thru 2012; highest version) is installed.

 

NMAKE_NET

Defines the NMAKE command-line make tool included with the Microsoft .NET Framework SDK, which can be used to build .NET Framework projects.  Enter a step command of %NMAKE_NET% /? to see the available syntax, and view this link for more details.