I am trying to integrate CcAvenue Payment Gateway in an application that we are currently developing in Asp.Net Core MVC 2.0. Now the trouble is to load an dll assembly provided by them.
This is build in .Net 3.5 and the application displays this exception
FileNotFoundException: Could not load file or assembly 'MCPG.CCA.Util, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3d7072b2634875da'. The system cannot find the file specified.
Sure you can, .net core 2.0 allows you to reference any .net version as long as it is .net standard 2.0 compliant (which it probably is as long as it isn't using Windows specific libraries)
keep in mind that you will get a warning, (this basically means that in theory there might be something wrong - so you should make sure everything actually works, and it largely depends on the library you are referencing)
As for your error, I am not familiar with the 'MCPG.CCA.Util' Library - but are you referencing it directly? If you are then this specific library is using Windows specific APIs (seems odd to me, you are probably not referencing the library directly) then look at this discusion it might help you