Pārlūkot izejas kodu

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

* 修复导表工具 protobuf被剪裁的问题
susices 3 gadi atpakaļ
vecāks
revīzija
b2e386f1cc
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  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;