UNC path use with dataSoureUrl

Discussion created by andrarias on Dec 20, 2016
Latest reply on Dec 21, 2016 by andrarias

My Add-in adds a .lyr file to the current map. When my Add-in reads the .lyr file located on my computer it works fine, but when I point to a copy of the same file on a shared network folder with a UNC path there is an error. I am using the regular UNC path format


string dataSoureUrl = @"\\host-name\share-name\path\file.lyr";


Am I doing something wrong?




c sharp

map authoring