Explorar o código

修复导表工具 protobuf被剪裁的问题 (#366)

* 修复导表工具 protobuf被剪裁的问题
susices %!s(int64=3) %!d(string=hai) anos
pai
achega
b2e386f1cc
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      Apps/Tool/ExcelExporter/ExcelExporter.cs

+ 3 - 0
Apps/Tool/ExcelExporter/ExcelExporter.cs

@@ -94,6 +94,9 @@ namespace ET
         {
             try
             {
+                //防止编译时裁剪掉protobuf
+                ProtoBuf.WireType.Fixed64.ToString();
+                
                 template = File.ReadAllText("Template.txt");
                 ExcelPackage.LicenseContext = LicenseContext.NonCommercial;