2
votes

I created a few packages on my internal NuGet server (hosted by TeamCity). All packages work as expected except one. I getting error:

Could not install package 'MYPACKAGE'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.5', 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.

Package info Project info

Everything looks good, but it's impossible to install this package. Thank you for any advice.

1

1 Answers

0
votes

Problem solved, assembly which was distributed by NuGet was strongly signed by a .snk key. That causes problems.. After removing the key, everything works as it should.