Skip to content

Commit f810c62

Browse files
authored
Allow shared access to .pe files on build (#860)
***NO_CI***
1 parent 23a66b0 commit f810c62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tools.BuildTasks-2019/GenerateBinaryOutputTask.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public override bool Execute()
6464
foreach (string peItem in peCollection)
6565
{
6666
// append to the deploy blob the assembly
67-
using (FileStream fs = File.Open(peItem, FileMode.Open, FileAccess.Read))
67+
using (FileStream fs = File.Open(peItem, FileMode.Open, FileAccess.Read, FileShare.Read))
6868
{
6969
long length = (fs.Length + 3) / 4 * 4;
7070
byte[] buffer = new byte[length];

0 commit comments

Comments
 (0)