string tempPath = System.IO.Path.GetTempPath();
MessageBox.Show("temppath: " + Path.GetTempPath()); MessageBox.Show(Environment.GetEnvironmentVariable("TEMP",EnvironmentVariableTarget.User));
This is still a bug in 10.3. I found it on the support site and status is still New, so we'll have to keep using the workaround.
NIM086862: Incorrect temporary path is returned through Add-In..
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.