I built a console application and “built” the solution, taking over the API to a server to run as a scheduled task. The console app uses a 3rd party app, but when the tool runs on the server, I get an error saying the .dll can’t be found. What is the proper way to deploy this?
Thanks
In the References folder in your project, highlight the third-party .dll and right click, in the Properties you should find the setting for ‘Copy Local’ and set it to True. When you do a Build take the contents of the Debug or Release folder and deploy it on your server. You can also ‘Publish’ but this usually makes an installer which I don’t usually need.
If you continue to get errors make sure the dependent.dlls to your third party .dll are also in the same folder.