I heve built a Plugin, but for my needs, I have to write all logs on a text file. But on debug mode, I notice that when thecode step through the following snippet
if (!System.IO.Directory.Exists(_filePath))
{
System.IO.Directory.CreateDirectory(_filePath);
}
it returns me this exception :
'System.Security.Permissions.FileIOPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
On filesystem, "everyone" is granted on read/write