I have created a Windows based App and is able to run on my own PC (PC A).
Afterwhich, I moved the exe to another PC (PC B) and shared the directory.
At PC A, I map a drive to the directory (V:\).
At another PC (PC C) I also map a V:\ to the directory in PC B.
One weird problem I encountered is on PC C, I am able to run V:\myexe.exe successfully.
However, on PC A, I encounter a runtime error as below
"Request for permission of type 'System.Security.Permissions.EnvironmentPermission, mscorlib, version=188.8.131.52, Culture=neutral, PublicKeyToken=bb77a5c561934e089' failed".