I am currently receiving errors from "new MsgConverter()" after upgrading my system to .net472 for TLS12 compliance.
My code runs as:
var converter = new MsgConverter(Stream file);
On my last release branch I am having no issue with .msg files, but on my current branch I am receiving error:
"Unsupported Compound File version."
When I run:
var test = new MsgConverter(@"C:\SampleMSGFile.msg");
I get error:
System.UnauthorizedAccessException:
'Access to path C:\SampleMSGFile.msg ' is denied
I have put my sample msg in different folders (including project folder) and have given ever user full access on it in security tab, but still the same error. I have also verified my sampleMSG works in prod and on the last release branch.
I have also installed half a dozen different versions of the nuget package with the same error.
Do you guys have any experience that may lend a hand here?
Thanks for any help!
Grant