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..
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.