dotnet / ef6

This is the codebase for Entity Framework 6 (previously maintained at https://entityframework.codeplex.com). Entity Framework Core is maintained at https://github.com/dotnet/efcore.
https://docs.microsoft.com/ef/ef6
MIT License
1.41k stars 538 forks source link

EntityFramework package initialization error in Package Manager Console #2242

Closed RakibulMRH closed 2 months ago

RakibulMRH commented 2 months ago
Each package is licensed to you by its owner. NuGet is not responsible for, nor does it grant any licenses to, third-party packages. Some packages may include dependencies which are governed by additional licenses. Follow the package source (feed) URL to determine any dependencies.

Package Manager Console Host Version 6.9.2.1

Type 'get-help NuGet' to see all available NuGet commands.

Test-ModuleManifest : The specified module 'E:\AIUB\ADVANCED PROGRAMMING WITH .NET 
[A]\LAB\Asp.NET-Builds\Sp24_A\WebAPIAppLayer\packages\EntityFramework.6.4.4\tools\EntityFramework6.psd1' was not loaded because no valid module file was found in any module 
directory.
At E:\AIUB\ADVANCED PROGRAMMING WITH .NET [A]\LAB\Asp.NET-Builds\Sp24_A\WebAPIAppLayer\packages\EntityFramework.6.4.4\tools\init.ps1:17 char:19
+ ... eToImport = Test-ModuleManifest (Join-Path $PSScriptRoot 'EntityFrame ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ResourceUnavailable: (E:\AIUB\ADVANCE...Framework6.psd1:String) [Test-ModuleManifest], FileNotFoundException
    + FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.TestModuleManifestCommand

Import-Module : Cannot bind argument to parameter 'Name' because it is null.
At E:\AIUB\ADVANCED PROGRAMMING WITH .NET [A]\LAB\Asp.NET-Builds\Sp24_A\WebAPIAppLayer\packages\EntityFramework.6.4.4\tools\init.ps1:33 char:19
+     Import-Module $moduleToImport
+                   ~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [Import-Module], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.ImportModuleCommand

PM> 
ajcvickers commented 2 months ago

This issue has been closed because EF6 is no longer being actively developed. We are instead focusing on stability of the codebase, which means we will only make changes to address security issues. See the repo README for more information.