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

Update of a Package should not modify PrivateAssets of a PackageReference #7285

@SimonCropp

Description

@SimonCropp

before update

  <ItemGroup>
    <PackageReference Include="Fody" Version="3.0.0" PrivateAssets="None" />
    <PackageReference Include="FodyPackaging" Version="3.0.0" PrivateAssets="All" />
  </ItemGroup>

after update

  <ItemGroup>
    <PackageReference Include="Fody" Version="3.0.1" PrivateAssets="all">
      <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
    </PackageReference>
    <PackageReference Include="FodyPackaging" Version="3.0.1" PrivateAssets="All" />
  </ItemGroup>

the problems is the first one results in the resultant nuget having a dependency on fody. the second one does not.

Metadata

Metadata

Assignees

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