Your project is not referencing the ".NETFramework,Version=4.5" framework.
我遇到了Yourprojectisnotreferencingthe“.NETFramework,Version=4.5”framework.Addareferenceto“.NETFramework,Version=4.5”inthe“frameworks”sectionofyourproject.json,andthenre-runNuGetrestore.怎么弄都没法解决,我尝试了git撤销