{"action":"opened","issue":{"url":"https://api.github.com/repos/SuaveIO/suave/issues/412","repository_url":"https://api.github.com/repos/SuaveIO/suave","labels_url":"https://api.github.com/repos/SuaveIO/suave/issues/412/labels{/name}","comments_url":"https://api.github.com/repos/SuaveIO/suave/issues/412/comments","events_url":"https://api.github.com/repos/SuaveIO/suave/issues/412/events","html_url":"https://github.com/SuaveIO/suave/issues/412","id":142895757,"number":412,"title":"Copy of html file in bin folder","user":{"login":"tforkmann","id":4168951,"avatar_url":"https://avatars.githubusercontent.com/u/4168951?v=3","gravatar_id":"","url":"https://api.github.com/users/tforkmann","html_url":"https://github.com/tforkmann","followers_url":"https://api.github.com/users/tforkmann/followers","following_url":"https://api.github.com/users/tforkmann/following{/other_user}","gists_url":"https://api.github.com/users/tforkmann/gists{/gist_id}","starred_url":"https://api.github.com/users/tforkmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tforkmann/subscriptions","organizations_url":"https://api.github.com/users/tforkmann/orgs","repos_url":"https://api.github.com/users/tforkmann/repos","events_url":"https://api.github.com/users/tforkmann/events{/privacy}","received_events_url":"https://api.github.com/users/tforkmann/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-23T08:29:33Z","updated_at":"2016-03-23T08:29:33Z","closed_at":null,"body":"Hi there,\r\n\r\nright now I'm trying to set up our intranet on a productive system.\r\nAfter building the webpage with `build.cmd` in my developing system I copy the bin folder to the productive system.\r\n\r\nAfterwards I'm using Topshelve to install the suave webserver as a windows service on the productive system. Like this:\r\n`Run WebSite.Service.exe install (in admin mode)`\r\n\r\n@forki 's https://github.com/forki/backgroundjobs is an sample project which shows those features.\r\n\r\nI'm able to run the suave webserver as a service but the webpage is running into an error because the html files are no getting complied into the bin folder.\r\n\r\nHere the error message as an example:\r\n\r\n> \r\n[E] 2016-03-23T07:45:41.8866520Z: request failed [Suave.Web.defaultErrorHandler]\r\n exn:\r\nSystem.IO.DirectoryNotFoundException: One part of the path \"C:\\Users\\...\\code\\WebSite\\templates\\landing.html\" can not be found.\r\n   with System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)\r\n   with System.IO.FileStream.Init(String path, FileMode mode, FileAccess access,\r\nInt32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions\r\noptions, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boole\r\nan useLongPath, Boolean checkHost)\r\n   withSystem.IO.FileStream..ctor(String path, FileMode mode, FileAccess access,\r\n FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean\r\n bFromProxy)\r\n   withSystem.IO.FileStream..ctor(String path, FileMode mode, FileAccess access,\r\n FileShare share)\r\n   with Suave.DotLiquid.loadTemplate@73.Invoke(Unit unitVar) in Z:\\ademar\\Project\r\ns\\suave\\src\\Suave.DotLiquid\\Library.fs:row 74.\r\n   withMicrosoft.FSharp.Control.AsyncBuilderImpl.callA@851.Invoke(AsyncParams`1\r\nargs)\r\n> \r\n\r\nIs there a way to get the html files compiled to the bin folder?\r\nI believe then Suave would be able to find the right html files and the webserver would run smoothly.\r\n\r\nThanks in advance!\r\n\r\nTim"}}