When I try to add dependencies to my new project it does not work. I receive the following error:
PM> Install-Package Microsoft.EntityFrameworkCore.SqlServerRestoring packages for E:\CProjects\BlazorApp1\BlazorApp1\BlazorApp1.csproj...GET https://api.nuget.org/v3-flatcontainer/microsoft.entityframeworkcore.relational/index.jsonOK https://api.nuget.org/v3-flatcontainer/microsoft.entityframeworkcore.relational/index.json 297ms
.. remove some sucessful operartions..
OK https://api.nuget.org/v3-flatcontainer/microsoft.entityframeworkcore.analyzers/index.json 256msGET https://api.nuget.org/v3-flatcontainer/microsoft.entityframeworkcore.analyzers/8.0.0/microsoft.entityframeworkcore.analyzers.8.0.0.nupkgOK https://api.nuget.org/v3-flatcontainer/microsoft.entityframeworkcore.analyzers/8.0.0/microsoft.entityframeworkcore.analyzers.8.0.0.nupkg 36msInstall-Package : Access to the path 'Microsoft.EntityFrameworkCore.Analyzers.dll' is denied.At line:1 char:1
- Install-Package Microsoft.EntityFrameworkCore.SqlServer
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
What is going wrong?Thanks in advance.
Simply I tried to install new dependencies through Nuget package manager as I did before, but it does not work.