PTVS icon indicating copy to clipboard operation
PTVS copied to clipboard

"Ignore these local items" doesn't work when first click

Open linette-zyy opened this issue 2 years ago • 2 comments

Environment image

Steps to Reproduce 1.Launch VS, search for "Django", and select the Blank Django Web Project template. 2.Enter the Name and location and check the option "Add to source Control", create the project and wait for project loaded in SE 3.Create the virtual environment with install requirements.txt and exclude it from source control a. Go to team explorer click "Changes" b. Right-click the virtual environment folder and select "Ignore these local items"

Actual behavior I need click twice "Ignore these local items" ignore_env

Output image

linette-zyy avatar Sep 19 '22 09:09 linette-zyy

Hi, could you check if your python path is added to your PATH variable?That might be the reason why Python was not found. Thanks.

StellaHuang95 avatar Sep 19 '22 17:09 StellaHuang95

I can repro this on today's latest build after adding python path to PATH variable image image

Python is installed from VS image image

linette-zyy avatar Sep 20 '22 08:09 linette-zyy

On the latest build 17.6.0 Preview 1.0 [33319.311.main], Python Package: 17.0.23005.2, this issue is not reproduced.

linette-zyy avatar Jan 20 '23 06:01 linette-zyy