PTVS icon indicating copy to clipboard operation
PTVS copied to clipboard

Set as current option should be checked and disabled when project uses default

Open ttSpace opened this issue 3 years ago • 2 comments

Describe the bug

image

Steps to Reproduce

  1. Create a Python Application. ( The project has a default environment )

image

  1. Add a virtual environment, and uncheck "Set as current environment".

image

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.

image

ttSpace avatar Sep 17 '21 07:09 ttSpace

I can repro in today's build 17.1.0 Preview 3.0 [32030.14.main].

ttSpace avatar Dec 31 '21 07:12 ttSpace

image 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'

linette-zyy avatar Aug 19 '22 09:08 linette-zyy