I have an ANCM In-Process Handler Load Failure with the ASP.NET Core 5 MVC when launching my project, using Microsoft Visual Studio to create the files.
When I create a new project under these conditions, along with using individual accounts for users, as soon as I click on IIS without modifying anything, I get build errors as shown in this screenshot:
This only occurs on my laptop and there is no difference in the way this is installed on my laptop compared to my desktop. I am a noob and don't know what other debugging methods you guys might need, but I would be very grateful if you could help me out! Thank you.
CodePudding user response:
Fixed it, follow these steps and more that are listed below
Once you have gotten to this point, you will then need to install these packages using the packet manager console, to get to the packet manager console in visual studio, go tools > NuGet Packet Manager > Packet Manager console. Type in these commands:
Install-Package Microsoft.EntityFrameworkCore.Tools -Version 5.0.11
Install-Package Microsoft.AspNetCore.Identity.UI -Version 5.0.11
Install-Package Microsoft.EntityFrameworkCore.SqlServer -Version 5.0.11
Install-Package Microsoft.AspNetCore.Identity.EntityFrameworkCore -Version 5.0.11
Install-Package Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore -Version 5.0.11
CodePudding user response:
The error looks like your visual studio is not able to connect to the nuget package source configured. You can refer the below link for the error details https://docs.microsoft.com/en-gb/nuget/reference/errors-and-warnings/nu1101
You can try setting up the package source in you visual studio, refer the steps in Microsoft documentation https://docs.microsoft.com/en-us/nuget/consume-packages/install-use-packages-visual-studio