On this line I get the following exception:
using (Stream reader = File.Open(m_inputFile, FileMode.Open))
Exception:
The message is: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
This happens in an Excel addin running in ExcelDNA, however this fails as soon as the XLL for Excel is put on a network drive.
How can I allow full permissions to read from local drives as I am on a secure network ?