0

I have created a Windows Form Application in .Net 4.8. This project is working ok as stand alone application. I have converted this project to class library to reference into other project. When I create an object and call a method to perform functionaliy, it throws the following error: "Could not load file or assembly 'Microsoft.Extensions.Primitives, Version=3.1.0.0, Culture=neutral, PublicKeyToken=abd9793829ddae60' or one of its dependencies. The system cannot find the file specified." I have performed many steps to get rid of it but unfortunately couldn't

  1. Remove and add reference again.
  2. Go for the nuget package but cannot do it because of .net framework version.
  3. Add dependent assembly in .csproj file. In main project anyway I can see the added reference but with different version Reference List. Please help me, as I am stuck into this problem since many days
  • Does this answer your question? [Could not load file or assembly or one of its dependencies](https://stackoverflow.com/questions/4469929/could-not-load-file-or-assembly-or-one-of-its-dependencies) – Jiale Xue - MSFT Jan 05 '22 at 07:11

0 Answers0