Skip to content

Project references not working with .NET Framework project #2323

@i-m-luke

Description

@i-m-luke

Describe the Issue

I have a SDK-style project targeting net481. References to other projects are shown as "invalid". There is no issue when the project is opened in VS2022.

Issues in the editor:
Image

Issues in the dependency tree:
Image

Steps To Reproduce

  1. Open net481 project in the VSCode
  2. Open a file that has references to another project

Expected Behavior

There should be no issues with referenced projects.

Environment Information

OS: Win11

VScode version: 1.103.2

Installed extensions:

  • C# Dev Kit: 1.41.11
  • IntelliCode for C# Dev Kit: 2.2.3
  • .NET Extension Pack: 1.0.13
  • .NET Install Tool: 2.3.7

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions