dotnet / dotnet/project-system

Install Missing Features dialog shows when project contains misplaced ProjectReference

Open
#4,587 2 comments 0 reactions 0 assignees View on GitHub
Triage-Approved
Dominant language
C#
Stars
1k
Forks
415
PR merge metrics
No merged PRs in 30d

Description

**Visual Studio Version**:

![image](https://user-images.githubusercontent.com/41759/53057071-90a9d780-3462-11e9-8a19-f0875a1dbcdc.png)

**Steps to Reproduce**:

1. Create C# project with the following content:
```xml


Exe
netcoreapp2.1

```

2. When opened in VS it will be unloaded. Reload it.

**Expected Behavior**:

Error is reported that `ProjectReference` element is misplaced (not inside an `ItemGroup`).

**Actual Behavior**:
![image](https://user-images.githubusercontent.com/41759/53057005-46c0f180-3462-11e9-8443-eda8d0c04ce3.png)

**User Impact**:

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.