This project is referring to NuGet packages that are missing on this computer.

Laurent Guigon 276 Reputation points

Houston, we've got a problem !

I try to restore an old version of a web application Asp.Net 4.8.1. All the references are missingCapture d'écran 2023-03-10 160922

I DON'T want to update them since it was an old version...
But when I try to get the Nuget packages it doesn't work.

Error messages are
The package "EntityFramework 6.4.4" could not be found in the following primary sources: "". Please check that all of your online package sources are available and that the package ID and version are specified correctly.

This project is referring to NuGet packages that are missing on this computer. Use the NuGet package restore option to download them. For more information, see The missing file is: ..\packages\Microsoft.Net.Compilers.2.6.1\build\Microsoft.Net.Compilers.props.

How the link to NuGet can't work ? And It don't download packages...
Help, please...

A set of technologies in the .NET Framework for building web applications and XML web services.
3,248 questions
{count} votes

1 answer

Sort by: Most helpful
  1. QiYou-MSFT 4,306 Reputation points Microsoft Vendor

    Hi @Laurent Guigon

    1.You can open Package Manager Console.

    2.Enter NuGet\Install-Package EntityFramework -Version 6.4.4



    Best regards,
    Qi You

    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments