I recently started creating a project on AppHarbor to try it out. And I ran into a little problem. I created small files containing jQuery templates, which I called .tmpl files and placed inside "~ / Templates /". To get the contents of one of these files, I use HttpRequest.Current.Server.MapPath(path);
and File.Open
, and all this works fine on my local machine, however in AppHarbor I get that the file does not exist. Is there any way around this work? Do I need to mark files in some way, or is there something I can add to my Web.config / project settings that can do this?
Alxandr
source share