The project system code logs information to a custom Output Window pane either while debugging or when a certain environment variable is set.
Setting the PROJECTSYSTEM_PROJECTOUTPUTPANEENABLED
environment variable to
1
enables project system logging.
Setting the CPS_DiagnosticRuntime
environment variable to
1
enables project system logging.
This environment variable is set automatically when launching the
ProjectSystemSetup
project within Visual Studio, via its
launchSettings.json
file.
To enable this logging in other situations you may, for example:
- Start a Developer Command Prompt
- Run:
set CPS_DiagnosticRuntime=1
- Run:
devenv
- Open a solution
- Use "View.Output Window"
- Select the pane titled "Project" from the dropdown
The up-to-date check uses a separate CPS mechanism for logging (disabled by default) that logs to the "Build" section of the "Output" pane. It is controlled via Visual Studio's "Options" dialog: