I created a simple C# console app that relies on an Exchange login through the EWS Managed API. When I publish using Visual Studio publishing wizard (Build > Publish) I was able to deploy to a shared drive. However, when others who don't have the EWS Managed API installed on their computer try to run the app they get the following error:
https://i.stack.imgur.com/VEQ7N.png
The assembly does not show up as an option under the project publish settings (Right click on project > Properties > Publish > Prerequisites).
How do I make sure the EWS assembly is included when I publish the console app?