|
Navigation: Actions > Microsoft > Visual Studio & .NET Macros |
![]() ![]()
|
The following global macros are defined for Visual Studio and .NET 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. Custom actions for many SDK tools are also available.
DEVSTUDIO_NET_DIR
The base path where Visual Studio .NET (2002, 2003, or 2005; highest version) is installed.
DEVENV_NET
Defines the Visual Studio .NET/2005 command-line build executable, which can be used to build Visual Studio projects and solutions. Usually, the Make VS.NET action, which wraps this tool and includes extra functionality, can be used instead. Enter a step command of %DEVENV_NET% /? to see the available syntax or visit this MSDN link for more details.
VB_NET
Defines the command-line executable for the Microsoft .NET Visual Basic compiler, which can be used to compile Visual Basic source files. Enter a step command of %VB_NET% /? to view the available syntax, or see this link for more details.
CS_NET
Defines the command-line executable for the Microsoft .NET C# compiler, which can be used to build C# source files. Enter a step command of %CS_NET% /? to see the available syntax, and see this link for more details.
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.