Skip to content

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

Open

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:

Activity

  1. davkean commented on Feb 20, 2019

    @davkean
    Member

    This will occur for any csproj that fails to load.

    This will be the whole "we're missing a single component from the .NET desktop development workload so assume this is the problem". You probably won't be able to repro this on a new install, it might take an upgrade to a build that added a component to the desktop workload.

  2. added
    Triage-Approved
    on Mar 18, 2019
  3. added this to the Backlog milestone on Mar 18, 2019
  4. sumit84mca commented on Dec 12, 2023

    @sumit84mca

    Any update on this issue

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Triage-Approved

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions