您好,我这边测试没有任何问题,这是我的代码,测试数据为二维面数据集,版本为9.1.2
          DataExport ex = new DataExport();
          ExportSetting shp = new ExportSetting();
          shp.TargetFileType = FileType.SHP;
          shp.SourceData = workspace1.Datasources[0].Datasets[0];
          shp.TargetFilePath = @"C:\Users\10551\Desktop\test.shp";
          ex.ExportSettings.Add(shp);
          ex.Run();