Global assembly cache APIs are obsolete (.NET Core and .NET 5.0)

AritramG 1 Reputation point
2022-02-08T05:59:50.647+00:00

.NET Core and .NET 5 and later versions eliminate the concept of the global assembly cache (GAC) that was present in .NET Framework.

In my .NET 5 application I want to make my local dependent class libraries available RUNTIME. Can anyone please put a suggestion on this. Thank you.

Developer technologies | C#
{count} votes

1 answer

Sort by: Most helpful
  1. Sreeju Nair 12,666 Reputation points
    2022-02-08T06:47:15.787+00:00

    I believe you need to use Runtime package store.

    Starting with .NET Core 2.0, it's possible to package and deploy apps against a known set of packages that exist in the target environment. The benefits are faster deployments, lower disk space usage, and improved startup performance in some cases.

    Refer: https://learn.microsoft.com/en-us/dotnet/core/deploying/runtime-store

    Hope this helps.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.