diff --git a/AssemblyData/AssemblyResolver.cs b/AssemblyData/AssemblyResolver.cs
index 552a34c3..4871d7af 100644
--- a/AssemblyData/AssemblyResolver.cs
+++ b/AssemblyData/AssemblyResolver.cs
@@ -103,7 +103,7 @@ namespace AssemblyData {
addAssemblySearchPath(dirName);
try {
- using (var xmlStream = new FileStream(configFilename, FileMode.Open)) {
+ using (var xmlStream = new FileStream(configFilename, FileMode.Open, FileAccess.Read, FileShare.Read)) {
var doc = new XmlDocument();
doc.Load(XmlReader.Create(xmlStream));
foreach (var tmp in doc.GetElementsByTagName("probing")) {
diff --git a/AssemblyServer-x64/App.config b/AssemblyServer-x64/App.config
index 752a43b7..272ab1c9 100644
--- a/AssemblyServer-x64/App.config
+++ b/AssemblyServer-x64/App.config
@@ -4,4 +4,7 @@
+
+
+
\ No newline at end of file
diff --git a/AssemblyServer-x86/App.config b/AssemblyServer-x86/App.config
index 752a43b7..272ab1c9 100644
--- a/AssemblyServer-x86/App.config
+++ b/AssemblyServer-x86/App.config
@@ -4,4 +4,7 @@
+
+
+
\ No newline at end of file
diff --git a/AssemblyServer/App.config b/AssemblyServer/App.config
index 752a43b7..272ab1c9 100644
--- a/AssemblyServer/App.config
+++ b/AssemblyServer/App.config
@@ -4,4 +4,7 @@
+
+
+
\ No newline at end of file
diff --git a/de4dot-x64/App.config b/de4dot-x64/App.config
index 752a43b7..272ab1c9 100644
--- a/de4dot-x64/App.config
+++ b/de4dot-x64/App.config
@@ -4,4 +4,7 @@
+
+
+
\ No newline at end of file
diff --git a/de4dot-x86/App.config b/de4dot-x86/App.config
index 752a43b7..272ab1c9 100644
--- a/de4dot-x86/App.config
+++ b/de4dot-x86/App.config
@@ -4,4 +4,7 @@
+
+
+
\ No newline at end of file
diff --git a/de4dot.code/AssemblyModule.cs b/de4dot.code/AssemblyModule.cs
index d77fa54b..8181e5d3 100644
--- a/de4dot.code/AssemblyModule.cs
+++ b/de4dot.code/AssemblyModule.cs
@@ -50,7 +50,7 @@ namespace de4dot {
void readMethodsFile() {
if (new FileInfo(methodsFilename).Exists) {
- using (var reader = new BinaryReader(File.Open(methodsFilename, FileMode.Open))) {
+ using (var reader = new BinaryReader(File.Open(methodsFilename, FileMode.Open, FileAccess.Read, FileShare.Read))) {
dumpedMethods = new DumpedMethodsReader(reader).read();
}
}
diff --git a/de4dot/App.config b/de4dot/App.config
index 752a43b7..272ab1c9 100644
--- a/de4dot/App.config
+++ b/de4dot/App.config
@@ -4,4 +4,7 @@
+
+
+
\ No newline at end of file
diff --git a/dumpMethods/App.config b/dumpMethods/App.config
index 8086c4fe..01514aab 100644
--- a/dumpMethods/App.config
+++ b/dumpMethods/App.config
@@ -5,4 +5,7 @@
+
+
+
\ No newline at end of file