帮助

当前: 全球交易助手教程 > 常见问题 > 订单相关
  • “订单”导出表格提示错误

    • “订单”导出表格提示错误

    •  

      错误发生在模板编译时:
       
      error CS0012: 类型“System.Attribute”在未被引用的程序集中定义。必须添加对程序集“System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”的引用。
       
      模板代码:
      @Model.LoginId
       
      生成模板的源码:
      //------------------------------------------------------------------------------
      // 
      //     此代码由工具生成。
      //     运行时版本:4.0.30319.42000
      //
      //     对此文件的更改可能会导致不正确的行为,并且如果
      //     重新生成代码,这些更改将会丢失。
      // 
      //------------------------------------------------------------------------------
       
      namespace RazorTemplates {
          using System;
          using System.Collections.Generic;
          using System.Linq;
          using JSON.Libraries.ExcelTemplate;
          using JSON.GTA.Ali.Entity;
          using JSON.GTA.Ali.BLL;
          using JSON.GTA.BLL;
          using JSON.GTA.Entity;
          using JSON.GTA.Security;
          using JSON.GTA;
          using System.Text;
          
          
          public class Template_4 : JSON.Libraries.ExcelTemplate.Engine.TemplateBase {
              
      #line hidden
              
              public Template_4() {
              }
              
              public override void Execute() {
      Write(Model.LoginId);
       
              }
          }
      }
      一般是win10系统导致的,按这个链接操作:

如果没有您的问题,请直接联系我们。

©2010-2013 SZ JSON Inc. All Rights Reserved 粤ICP备11097900 关于江胜科技 最好用的免费速卖通软件