Nuget package installation failure

前端 未结 8 1846
一生所求
一生所求 2020-12-20 11:43

When trying to install a package from our newly created private Nuget Feed i get the following error.

Could not install package \'GC.Timecode 1.0.0.3\'. You are tryi

8条回答
  •  星月不相逢
    2020-12-20 12:38

    I was also getting the following message.

    Could not install package 'Package Name'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.6.1', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.

    In my case, changing the package management format from packages.config to PackageReference solved the problem.

提交回复
热议问题