This project has moved. For the latest updates, please go here.

OwinHost assemblies directory

Jan 15, 2016 at 9:56 PM
In OwinHost, the assembly search path has 'bin' appended to the end of it (From Program.cs):
ResolveAssembliesFromDirectory(
                Path.Combine(Directory.GetCurrentDirectory(), "bin"));
When running OwinHost.exe against my application, the working directory is set to 'projectname/bin/debug'. Appending the additional path segment onto the end causes my Dlls not be found.

Is there a reason the 'bin' is appended to the end of the path? Should be my project be configured differently in order to use OwinHost?
Coordinator
Jan 15, 2016 at 10:12 PM
OwinHost assumes you're using the WebApplication template layout where assemblies go into /bin.