ServiceBusExplorer icon indicating copy to clipboard operation
ServiceBusExplorer copied to clipboard

Configuration files are stored with the binaries

Open ErikMogensen opened this issue 2 years ago • 1 comments

The files:

  • properties.xml
  • message.xml
  • RelayMessage.xml

are hardcoded to be stored in the current directory, which usually is the same as the binary. That makes it impossible to change the contents of these if SBE is running from a protected directory, which for instance is the case if it has been installed using Chocolatey.

The workarounds are to either put SBE in an unprotected path or run it in elevated mode.

The question is if this can be implemented as to always use the user's personal roaming data folder. That would be a breaking change but it would be messy have a configurable path for it.

I'd prefer to always use the user's personal roaming data folder.

ErikMogensen avatar Sep 03 '22 14:09 ErikMogensen

This is particularly annoying when launching Service Bus Explorer from CLI while working in a Git repo directory. I would really rather not add these files to .gitignore or either of the other workarounds. Roaming AppData sounds good to me.

gtbuchanan avatar Mar 09 '23 23:03 gtbuchanan