Saturn.Template
Saturn.Template copied to clipboard
Consider setting the CurrentDirectory in the template code
Often when an application is run under the ionide debugger, the System.Environment.CurrentDirectory is set to that of the debugging instance, which is somewhere inside the user home. This causes relative-path file lookups, like a bundled sqlite database for example, to fail. Should the template include code to set the System.Environment.CurrentDirectory to the location of the currently-executing assembly(System.Reflection.Assembly.GetExecutingAssembly().Location)? This was inspired by a troubleshooting session I had this morning with a Slack user in #web.