System.IO.IOException: The requested operation cannot be performed on a file with a user-mapped section open. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at System.Xml.XmlWriterSettings.CreateWriter(String outputFileName) at System.Xml.XmlWriter.Create(String outputFileName, XmlWriterSettings settings) at System.Xml.Linq.XElement.Save(String fileName, SaveOptions options) at POEApi.Model.Settings.Save() at Procurement.ViewModel.SettingsViewModel.set_CurrentCharacter(String value) at Procurement.ViewModel.SettingsViewModel..ctor(SettingsView view) at Procurement.View.SettingsView..ctor() at Procurement.ViewModel.ScreenController.b__0() at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)System.IO.IOException: The requested operation cannot be performed on a file with a user-mapped section open. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at System.Xml.XmlWriterSettings.CreateWriter(String outputFileName) at System.Xml.XmlWriter.Create(String outputFileName, XmlWriterSettings settings) at System.Xml.Linq.XElement.Save(String fileName, SaveOptions options) at POEApi.Model.Settings.Save() at Procurement.ViewModel.SettingsViewModel.set_CurrentCharacter(String value) at Procurement.ViewModel.SettingsViewModel..ctor(SettingsView view) at Procurement.View.SettingsView..ctor() at Procurement.ViewModel.ScreenController.b__0() at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)