Эх сурвалжийг харах

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

* 修复导表工具 protobuf被剪裁的问题
susices 3 жил өмнө
parent
commit
b2e386f1cc

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

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