Skip to content

Update .vsconfig to remove .NET Core 2.1 component #8255

@jrdodds

Description

@jrdodds

Issue Description

.NET Core 2.1 is out of support and is not used in the projects in MSBuild.sln. Removing the "Microsoft.Net.Core.Component.SDK.2.1" ID from the .vsconfig file will stop Visual Studio from complaining when .NET Core 2.1 is not installed. This is a minor annoyance but it is also a minor change. See quick edit 0221d3a.

Steps to Reproduce

  1. Confirm that .NET Core 2.1 is not installed.
  2. Open MSBuild.sln or MSBuild.Dev.slnf in Visual Studio.
  3. Note the message displayed: "Based on your solution, you might need to install extra components for a full development experience."
  4. Build the solution and note that the build succeeds without .NET Core 2.1 installed.

Screenshot 2022-12-19 121152

Analysis

The solution's requirements/dependencies have changed and the .vsconfig file is not up to date.

Versions & Configurations

Issue observed with VS2022.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugneeds-triageHave yet to determine what bucket this goes in.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions