Skip to content

Install Missing Features dialog shows when project contains misplaced ProjectReference  #4587

@tmat

Description

@tmat

Visual Studio Version:

image

Steps to Reproduce:

  1. Create C# project with the following content:
<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>netcoreapp2.1</TargetFramework>
  </PropertyGroup>

  <ProjectReference Include="Foo.csproj"/>

</Project>
  1. 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

User Impact:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions