External data from the UseExternalData.vsdx file (from the attached zip) is lost while opening and saving it with the following code (see UseExternalData_saved.vsdx):
var diagram = new Diagram(@"C:\work\test\UseExternalData.vsdx"); diagram.Save(@"C:\work\test\UseExternalData_saved.vsdx", SaveFileFormat.VSDX);
The data referenced is in data.xlsx. After the constructor call diagram.DataConnections is also empty, though this was not the case for a .vsd version of the original file.
Thanks for any help.
files.zip (153.0 KB)