PTVS
PTVS copied to clipboard
Set as current option should be checked and disabled when project uses default
Describe the bug
Steps to Reproduce
- Create a Python Application. ( The project has a default environment )
- Add a virtual environment, and uncheck "Set as current environment".
Expected behavior
The Project current environment is using the default environment.
Additional context and screenshots
The Project current environment is using the new virtual environment.
I can repro in today's build 17.1.0 Preview 3.0 [32030.14.main]
.
I can repro similar situation in today's build
Steps to Reproduce 1.Launch VS and open a folder 2.Add a python file 3.Add a virtual environment 'env' in toolbar combo box, check the 'Set current environment' 4.After 'env' created successfully, make sure the active environment is 'env' in Python environment node 5.Add a new virtual environment 'env1' in toolbar combo box, uncheck the 'Set current environment' 6.After 'env1' created successfully, check the Python environment node
Expected behavior: The active environment is still 'env'
Actual behavior The active environment is changed as 'env1'