I consuming my service stack using EXE project (startup task for azure application) in that I have copied following service stack's DLL & some Azure's DLLs in to EXE project.
When I build this EXE project then Azure DLLs will be bundled with my EXE but service stack's DLL will not be bundled with EXE, because to run my EXE on any machine I need to copy all service stack's DLL manually.
I have used this service stack's dll to use
JsonServiceClient client = new JsonServiceClient(servicepath);
What should I have to do to bundled all these DLLs in to my EXE?
You have several options:
OR
OR
AssemblyResolve
handler which at runtime reads from Resources and returns the needed DLLs to the .NET runtime...