Choosing Environment on Comparison Opening
Last modified: October 23, 2019
The environment parameter sets the rules for choosing an environment when opening a comparison. Using this parameter, you can choose the type of environment to open - the standalone application or the Visual Studio add-in. The rules for choosing the environment for each parameter value are listed below. Note that the first condition that is satisfied is applied (conditions are listed by importance).
/environment=auto
- Comparison in the instance of Visual Studio from where Code Compare has been called (unless the [/B] option has been turned on in the command line).
- Comparison in the instance of Visual Studio where the selected file is included into a project.
- Any of the already running instances of Code Compare.
- Any of the already running instances of Visual Studio.
- A new instance of Code Compare.
/environment=visualstudio
- Comparison in the instance of Visual Studio from where Code Compare has been called (unless the [/B] option has been turned on in the command line).
- Comparison in the instance of Visual Studio where the selected file is included into a project.
- Any of the already running instances of Visual Studio.
- A new instance of Visual Studio.
/environment=standalone
- Any of the already running instances of Code Compare.
- A new instance of Code Compare.
Note
The Environment Choice dialog will be shown, if the environment parameter has not been set and more then one environment is open.
Was this page helpful?