0
kevinjee created
when i upgrade to the lastest abp ,the following errors:
An error occurred while retrieving package metadata for 'AutoMapper.5.1.1' from source d:\abp\src\packages'.
I download the automapper package from nuget website .but can not success!
2 Answer(s)
-
0
Hi,
This seems like a Visual Studio problem. Maybe cleaning your solution or deleting nuget packages from d:\abp\src\packages folder (don't delete packages.config :)), and a rebuild might solve the problem.
-
0
The same issue after installing 1.12 version. Create new project, followed the guide. Trying to update packages with "get-project -all | get-package | ?{ $_.Id -like 'Abp*' } | update-package" and get the following:
Attempting to gather dependencies information for multiple packages with respect to project 'Tools\omni.Migrator', targeting '.NETFramework,Version=v4.6.1' update-package : An error occurred while retrieving package metadata for 'AutoMapper.5.1.1' from source 'C:\Users\stepan.nesterov\Documents\Visual Studio 2015\Projects\omniPOS_v1.12.2\packages'. At line:1 char:60 + get-project -all | get-package | ?{ $_.Id -like 'Abp*' } | update-package + ~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Update-Package], Exception + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.UpdatePackageCommand Attempting to gather dependencies information for multiple packages with respect to project 'Tools\omni.Migrator', targeting '.NETFramework,Version=v4.6.1' update-package : An error occurred while retrieving package metadata for 'AutoMapper.5.1.1' from source 'C:\Users\stepan.nesterov\Documents\Visual Studio 2015\Projects\omniPOS_v1.12.2\packages'. At line:1 char:60 + get-project -all | get-package | ?{ $_.Id -like 'Abp*' } | update-package + ~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Update-Package], Exception + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.UpdatePackageCommand