Your project does not reference “.NETFramework,Version=v4.7.2” framework. Add a reference to “.NETFramework,Version=v4.7.2” in the “TargetFrameworks” property of your project file and then re-run NuGet restore.

Recently, I found an error when I try to building the application that I worked for. So I started to add some post to collect the error I found and solved to save my day later on.

For this error, to solve the problem is clean/remove
project.assets.json in [obj] folder and try to rebuild the application again.

Original Link:

(Visited 456 times, 9 visits today)

Leave A Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.