I have seen read how many people have faced this problem. Specifically I'm trying to install the package: Microsoft.Toolkit.Wpf.UI.Controls.Webview
although as the title states it:
Could not install package 'Microsoft.Toolkit.Wpf.UI.Controls.WebView 5.0.1'.
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.
The problem I face is that the two solutions across all the similar posts don't seem to solve the problem for me. I have cleared the Nuget cache, which didn't resolve the issue and the second solution, which states renaming the Package .net folder to the current targeted framework is impossible as I cannot install it at all.
Is there something I'm missing?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.