I was looking through the MSDN MSBuild Reference and I noticed that I could not find several built-in MSBuild properties that I was expecting to find. In fact, I was only able to find these built-in MSBuild properties through using MSBuild Sidekick. Since Visual Studio Intellisense does not assist with MSBuild properties, I thought I would list these properties here for anyone who may have a need for them in the future
The properties listed below are from using a sample MSBuild 4.0 project file:
The properties listed below are from using a sample MSBuild 4.0 project file:
- ALLUSERSPROFILE
- APPDATA
- CommonProgramFiles
- CommonProgramW6432
- COMPUTERNAME
- ComSpec
- DEFLOGDIR
- FP_NO_HOST_CHECK
- HOMEDRIVE
- HOMEPATH
- LOCALAPPDATA
- LOGONSERVER
- NUMBER_OF_PROCESSORS
- OS
- PATHEXT
- PROCESSOR_ARCHITECTURE
- PROCESSOR_ARCHITEW6432
- PROCESSOR_IDENTIFIER
- PROCESSOR_LEVEL
- PROCESSOR_REVISION
- ProgramData
- ProgramFiles
- ProgramW6432
- PSModulePath
- PUBLIC
- Registry
- SESSIONNAME
- SystemDrive
- SystemRoot
- TEMP
- TMP
- USERDNSDOMAIN
- USERDOMAIN
- USERNAME
- USERPROFILE
- VS100COMNTOOLS
- VSEDEFLOGDIR
- windir
- windows_tracing_flags
- windows_tracing_logfile
In addition, the following article provides some additional information on new Reserved Properties introduced with MSBuild 4:
No comments:
Post a Comment