Packages.config does not exist
in dotnet core
, instead .NET Core stores your package references always in the project file .csproj.
Is PackageReference is only for .NET Core and .NET?
James J
586
Reputation points
Hi,
I am planning to migrate Packages.config from .NET Framework 4.8 to PackageReference to maintain all Nuget package reference in one location. I read some of the articles saying, PackageReference is always recommended to use in .NET Core projects.
Is the recommendation TRUE or can i use the migrate for. NET framework projects as well. Can you please clarify.
Thanks,
James J
Accepted answer
-
Karen Payne MVP 35,036 Reputation points
2022-03-06T03:34:01.067+00:00
1 additional answer
Sort by: Most helpful
-
Sreeju Nair 11,606 Reputation points
2022-03-06T09:19:15.413+00:00 In addition to what @Karen Payne MVP suggested, there is a good documentation that will help you in the migration