{"action":"created","issue":{"url":"https://api.github.com/repos/HangfireIO/Hangfire/issues/282","labels_url":"https://api.github.com/repos/HangfireIO/Hangfire/issues/282/labels{/name}","comments_url":"https://api.github.com/repos/HangfireIO/Hangfire/issues/282/comments","events_url":"https://api.github.com/repos/HangfireIO/Hangfire/issues/282/events","html_url":"https://github.com/HangfireIO/Hangfire/issues/282","id":53811066,"number":282,"title":"Windows Service and System.IO.FileNotFoundException","user":{"login":"jwiscarson","id":5872334,"avatar_url":"https://avatars.githubusercontent.com/u/5872334?v=3","gravatar_id":"","url":"https://api.github.com/users/jwiscarson","html_url":"https://github.com/jwiscarson","followers_url":"https://api.github.com/users/jwiscarson/followers","following_url":"https://api.github.com/users/jwiscarson/following{/other_user}","gists_url":"https://api.github.com/users/jwiscarson/gists{/gist_id}","starred_url":"https://api.github.com/users/jwiscarson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwiscarson/subscriptions","organizations_url":"https://api.github.com/users/jwiscarson/orgs","repos_url":"https://api.github.com/users/jwiscarson/repos","events_url":"https://api.github.com/users/jwiscarson/events{/privacy}","received_events_url":"https://api.github.com/users/jwiscarson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/HangfireIO/Hangfire/labels/question","name":"question","color":"eeeeee"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-08T22:42:48Z","updated_at":"2015-01-28T15:14:39Z","closed_at":null,"body":"I've been working with and figuring out Hangfire for a week or so. I had success running it in-process, but we need several developers to use the same job scheduling engine and database. I moved Hangfire to a Windows Service and got it installed correctly, but whenever I run the same job that failed previously, I get a FileNotFoundException.\r\n\r\nI read the exception log, and the message referenced the folder location it was trying to download my file from -- of course, the same folder the Hangfire service is executing in. I copied the .dll to that folder, but I still get a similar error message.\r\n\r\n    System.IO.FileNotFoundException: Could not load file or assembly 'AppFramework.Operations.Test, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.\r\n    The system cannot find the file specified.\r\n\r\nThere's more to the error log, but I'd rather not paste a wall of text if I can avoid it. What am I missing here? How do I expose my public data types and functions to Hangfire?"},"comment":{"url":"https://api.github.com/repos/HangfireIO/Hangfire/issues/comments/71850676","html_url":"https://github.com/HangfireIO/Hangfire/issues/282#issuecomment-71850676","issue_url":"https://api.github.com/repos/HangfireIO/Hangfire/issues/282","id":71850676,"user":{"login":"odinserj","id":1078718,"avatar_url":"https://avatars.githubusercontent.com/u/1078718?v=3","gravatar_id":"","url":"https://api.github.com/users/odinserj","html_url":"https://github.com/odinserj","followers_url":"https://api.github.com/users/odinserj/followers","following_url":"https://api.github.com/users/odinserj/following{/other_user}","gists_url":"https://api.github.com/users/odinserj/gists{/gist_id}","starred_url":"https://api.github.com/users/odinserj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odinserj/subscriptions","organizations_url":"https://api.github.com/users/odinserj/orgs","repos_url":"https://api.github.com/users/odinserj/repos","events_url":"https://api.github.com/users/odinserj/events{/privacy}","received_events_url":"https://api.github.com/users/odinserj/received_events","type":"User","site_admin":false},"created_at":"2015-01-28T15:14:39Z","updated_at":"2015-01-28T15:14:39Z","body":"Yep, in .NET you can also specify the custom [probing paths](http://stackoverflow.com/questions/1892492/c-sharp-set-custom-path-to-referenced-dlls), however this is an out of topic of this project."}}