Skip to content

tests fail to load because solution has unsupported project types #2739

@ivanjx

Description

@ivanjx

Describe the Issue

so in my solution i have a msix installer project that vscode cannot load so the solution build always errors. however, this project is not related or referenced at all by my xunit test projects. i can run dotnet test just fine in the terminal in the test project directory itself.

Steps To Reproduce

  1. add a test project.
  2. add another project type without referencing it into the same solution. make sure there are errors in this project.
  3. in vscode testing tab, click "build and run c# tests".
  4. it will fail since it tries to build the whole solution.

Expected Behavior

tests should appear and run because the projects with errors are not related or referenced at all to the test project.

Environment Information

  • OS: Windows 11
  • vscode: 1.108.2
  • dev kit: 1.93.20

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions