You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 theSystem.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.The text was updated successfully, but these errors were encountered: