Hi
I am getting this exception from my plugin
Request for the permission of type 'System.Security.Permissions.EnvironmentPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
at System.Security.CodeAccessPermission.Demand()
at System.IO.Path.GetTempPath()
at Plugins.PostReceiptRetrieve.ExecutePostReceiptRetrieve(LocalPluginContext localContext)
This is when I try to get the Temp folder path using Path.GetTempPath() method. Any ideas?
Thanks
*This post is locked for comments
I have the same question (0)