Open linette-zyy opened 2 years ago
I can repro this in other steps: 1.Launch VS and 'Continue without code' 2.Select View > Cookiecutter Explorer 3.Load a template from the "Recommended" section 4.Add a virtual environment 'env' in toolbar combo box, check the 'Set current environment'
On the latest build 17.6.0 Preview 1.0 [33319.311.main], Python Package: 17.0.23005.2, this issue still occurred. No tip pops up and the active environment doesn't change as 'env'
@linette-zyy Does this still repro? I can't repro it and I don't see the "Python was found" error either.
@StellaHuang95 In today's latest build:17.6.0 Preview 2.0 [33423.321.main],Python package:17.0.23047.1, I can repro in two scenarios, the active environment doesn't change as 'env'
Scenarios 1 1.Launch VS and open a local folder 2.Select View > Cookiecutter Explorer 3.Add a python file 4.Add a virtual environment 'env' in toolbar combo box, check the 'Set current environment' 5.Check the active environment if is 'env'
Scenarios 2 1.Launch VS and open cookiecutter explorer 2.Load the following template: https://github.com/brettcannon/python-azure-web-app-cookiecutter 3.Keep default values and click Create and Open Folder 4.Open webapp.py and add a virtual environment 'env' in toolbar combo box, check the 'Set current environment' 5.Check the active environment if is 'env'
Note: Only when this tip pops up and select ''Always trust'' or 'Trust this time', the active environment will changes as 'env'
Environment
Steps to Reproduce 1.Launch VS and open a local folder 2.Select View > Cookiecutter Explorer 3.Add a python file 4.Add a virtual environment 'env' in toolbar combo box, check the 'Set current environment' 5.Check if a tip pops up and select 'Always trust' 6.Make sure the active environment is changed as 'env'
Expected behavior A tip pops up and the active environment changes as 'env' after selecting 'Always trust'
Actual behavior No tip pops up and the active environment doesn't change as 'env'
Note The active environment doesn't change with the Cookiecutter Explorer is open, the active environment changes with the Cookiecutter Explorer is closed