I have a very simple Add Data button in my add-in that's supposed to open a dialog at the InitialLocation property (OpenItemDialog class) set to the directory on our LAN where we keep all our organizations .lyr and .lyrx files.
The dialog had been opening to the set InitialLocation on the LAN without fail until we upgraded to ArcGIS Pro 2.2 or 2.2.1 (I can't remember which). Now it opens in the last location the user navigated to, no matter where on the network.
Anyone have an idea on what's happening?
Right now Pro and the SDK are at 2.2.2
OpenItemDialog addToMap = new OpenItemDialog
Title = "Add Data",
InitialLocation = @"C:\",
MultiSelect = true