asp.net.netasp.net-mvcasp.net-web-apisap-dotnet-connector

Could not load file or assembly sapnco_utils.DLL or one of its dependencies


I am using VS 2022 64 bit.. When I am trying to run my API project based on SAP .NET Connector locally.. then coming this error..

I have tried almost all solutions from Stack Overflow.. but still it is not working.

Like clean Nuget packages and reinstall them. Delete Bin and Obj folder and rebuild solution multiple times.

Even I have set to 64 but still not working..

Any help or advice..

Thanks

enter image description here


Solution

  • Check if in your system is it installed Visual C++ 2010 SP1

    If not just install Microsoft Visual C++ 2010 Service Pack 1 Redistributable Package from here and you shall be fine