Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

Commit 9735fe9

Browse files
committed
In SavePreferences(), ignore not only IOException, but also UnauthorizedAccessException.
1 parent 7936c32 commit 9735fe9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Main/SharpDevelop/Project/Solution.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,7 @@ public void SavePreferences()
325325
sdSettings.Save(sdSettingsFileName);
326326
}
327327
} catch (IOException) {
328+
} catch (UnauthorizedAccessException) {
328329
// ignore errors writing to extra properties
329330
}
330331
}

0 commit comments

Comments
 (0)