豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

[Feature]: SDK packages should have explicit Framework metadata #9081

@jzabroski

Description

@jzabroski

Related Problem

#9015

The Elevator Pitch

I just uninstalled VS2019 and installed VS2022, and when I went to run a csproj with <Project Sdk="Microsoft.Build.NoTargets/3.3.0">, I get the following error message insisting that I install the .NET 4.8 Developer Pack.

I think this is possibly two issues:

  1. SDKs should have explicit bootstrap requirements, and those bootstrap requirements should get serialized into nuget package metadata, so that it is viewable in the gallery. https://www.nuget.org/packages/Microsoft.Build.NoTargets
  2. The gallery should do a better job displaying framework info for this scenario. See the related problem discussion in [Feature]: Tool Packages should display differently than library packages  #9015

Additional Context and Details

If I go to https://www.nuget.org/packages/Microsoft.Build.NoTargets I see the following

image

This probably also owes an issue with another team at Microsoft, possibly the MSBuild tea or another team, but I am not well versed in the political structures at Microsoft.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions