Microsoft Toolkit installation cannot be done

Lloyd Sheen 1,486 Reputation points
2022-11-11T14:54:54.44+00:00

So I have a new dev pc. I have copied all my source projects to the new pc and are trying to get several projects working or just executing apps from it that I use.

My WPF app tells me that I need to install the Microsoft.Toolkit.Wpf. I have seen many posts from MS telling me how to do it and well none of them work.

Using the package manager console with "dotnet add package Microsoft.Web.WebView2 --version 1.0.1418.22" tells me that I have more than one project in my solution and of course the solution has one project so this is useless.

At present I am stuck with this.

Developer technologies | Windows Presentation Foundation
Developer technologies | .NET | Other
Developer technologies | Visual Studio | Other
{count} votes

1 answer

Sort by: Most helpful
  1. Ken Tucker 5,861 Reputation points
    2022-11-13T10:32:38.877+00:00

    I would right click on my solution file and open it with notepad. You can double check more than one project is not listed. Also it could not hurt to delete the hidden .vs folder in your solutions directory


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.