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..
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.