
So, to fix this an explicit FileAccess had to be set. Package.Open uses the default FileShare.None option. This causes a conflict and throws the 'UnauthorizedAccessException' exception. So, we just tell it that we are there to read it and everything is fine.
Languages
C
93.2%
Python
1.7%
Perl
1.5%
Meson
1.3%
C#
0.9%
Other
1.2%