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

Restore to project with single TargetFramework must not condition props #3588

@nguerrera

Description

@nguerrera

A project declaring a single TFM, e.g <TargetFramework>netstandard1.0</TargetFramework> will do so after props are imported. As such, if the .g.props file has a $(TargetFramework) condition as it does today, the condition will never be true, and the props will never be imported.

Nuget needs to distinguish the single TFM case and not emit conditions to the .g.props file (and probably not to the .g.targets either for the sake of consistency).

Metadata

Metadata

Assignees

Labels

Functionality:RestorePriority:1High priority issues that must be resolved in the current sprint.Type:DCRDesign Change Request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions