Visual Studio 2013 Debugger does not work with external DLL

Asked

Viewed 586 times

1

I have an application that was migrated from VS2008 to 2013, . Net Framework 4 and C#, using a DLL from another project.

Build no errors. However after execution, at the time of instantiating the dll object, it presents the following error (This error only occurs on Debugger).

Error: Unable to load DLL 'Pegasusimaging.Common.Barcodexpress5. 5.0.12.0.ssm': Could not find the specified module. (Exception of HRESULT: 0x8007007E)"

If I publish the project, it works normally.

Remembering that this same project runs normally in Visual Studio 2008.

Could be some problem with the Debugger of Visual Studio 2013?

  • 1

    This is a symptom that the DLL is present in the publishing environment, but is not present in the folder/file bin of your application when you run it by Visual Studio. How do you run it? The DLL is present in the failed environment?

  • Renan, a dll is already in the /bin folder of the project.

  • You do not have permission to access the folder where the DLL is.

  • 1

    Already put the permission and still, it still doesn’t work. Anyone have any more ideas? abs.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.