Hi,
Seems like your API (version 21.4) doesn’t detect load formats correctly. As said in documentation (Supported File Formats|Documentation), both VSS and VST formats could be loaded. Here is my code:
string input = @"C:\input.vst";
//string input = @"C:\input.vss";
using (FileStream fs = new FileStream(input, FileMode.Open, FileAccess.Read))
{
Console.WriteLine("File name: " + fs.Name);
Aspose.Diagram.FileFormatInfo diagramFileFormatInfo = Aspose.Diagram.FileFormatUtil.DetectFileFormat(fs);
Console.WriteLine("Load format: " + diagramFileFormatInfo.LoadFormat);
Console.WriteLine("File format type: " + diagramFileFormatInfo.FileFormatType + "\n");
}
As you can see both these files are being detected like vsd (check attached screenshot).
Vss and vst files are aslso attached to this topic.
Regards,
Alex