Skip to content

The error message "This project "PythonApplication3" has a reference to a missing Conda environment "env" does not pop up. #8615

Description

@linette-zyy

Environment
Build of Visual Studio: 18.11.0 Canary [12121.275.main]
Build of Python Package: 18.0.26235.1
Version of Pylance: 2026.2.109
OS version: Windows 11 Enterprise, version 25H2

Steps to Reproduce

  1. Create a new Flask Web Project name FlaskWebProject1
  2. Right click Solution Explorer -> Add a new Flask Web project named FlaskWebProject2
  3. In FlaskWebProject1 -> References -> Add Reference -> FlaskWebProject2
  4. Create Conda environment env for FlaskWebProject2
  5. Close VS and go to conda env folder delete env
Image 6. Reopen the project 7. Observes

Expected behavior
The error message "This project "PythonApplication3" has a reference to a missing Conda environment "env should pops up.
Image

**Actual result **
The error message "This project "PythonApplication3" has a reference to a missing Conda environment "env" does not pop up.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions