Try using the following project by cloning, run the script, build/run.
NuGet Package list
Connection is in appsettings.json
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello:
Today, in the morning, I found Visual Studio 2019 has a new version, so I installed the new version: 16.11.0, and I also found there were quite a number of Windows updates, I also installed all the updates, and did a reboot, then I shutdown my PC to take a rest.
In the afternoon, I have to create one WinForms App (C#) project, and I have to use nuget package of EntityFrameworkCore, I had used the nuget until version 5.0.8, the package worked well.
Today, I found there are new version for this EntityFrameworkCore, the new version is: 5.0.9.
So, I want to use the latest version of such package, but I can’t install it in a WinForms App project, from my testing, this version of package can be installed on C# Console Project, either AnyCPU or x64.
But for WinForms App project, when I installed this version of nuget package, the installation stops at this point:
Successfully installed 'Microsoft.IdentityModel.Tokens 5.6.0' to InstallEFCore509Form,
and Visual Studio 2019 UI has been freezing for a long time, I wait for more than 15 minutes, it can’t finish the installation.
There are still 76 packages to be installed, according to the packages installed from C# console project.
I think there must be some issue with the Winforms project template for version 16.11.0.
Please check and find a fix, as I can’t create new Winforms project any more using Visual Studio version 16.11.0.
My OS is Windows 10 Version 21H1.
Thanks,
See the attached picture for details.
Try using the following project by cloning, run the script, build/run.
NuGet Package list
Connection is in appsettings.json