zoukankan      html  css  js  c++  java
  • VS2010出现FileTracker : error FTK1011编译错误的解决办法

    VS2010出现FileTracker : error FTK1011编译错误的解决办法

    今天编译器出现如下警告:

    C:WindowsMicrosoft.NETFrameworkv4.0.30319Microsoft.Common.targets(1578,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "System.Data.SQLite, Version=1.0.62.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=x86", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.

    上网查解决办法:

    FileTracker : error FTK1011编译错误的解决办法有三个。

    方法一:把目标框架改为Framewotk=4.0
    方法二:新增环境变量TRACKFILEACCESS=false:
    操作步骤:右击"我的电脑"(或"计算机")-->"高级"-->"环境变量"-->"新建系统变量"-->填写"变量名"为"TRACKFILEACCESS",变量值为"false",保存即可.

    方法三:

    打开文件: C:WINDOWSMicrosoft.NETFrameworkv4.0.30319Microsoft.Common.Targets

    找到

    <GenerateResource

    TrackFileAccess="$(TrackFileAccess)"
    TrackerLogDirectory="$(TrackerLogDirectory)"

    </GenerateResource>

    删除

    TrackFileAccess="$(TrackFileAccess)"
    TrackerLogDirectory="$(TrackerLogDirectory)"

     

    三种方式均可解决这个编译时的错误。

  • 相关阅读:
    tr 删除换行
    ImportExcelUtil 导入excel表格数据转换为对象存储
    苹果手机(ios)拍照上传图片旋转90度问题---java后台处理
    event兼容性解决
    event兼容性解决
    [CodeVS4919]线段树练习4
    [CodeVS4919]线段树练习4
    [CodeVS4919]线段树练习4
    Cocos2D-X2.2.3学习笔记12(瞬时动作)
    Cocos2D-X2.2.3学习笔记12(瞬时动作)
  • 原文地址:https://www.cnblogs.com/zjgtlkj/p/3323573.html
Copyright © 2011-2022 走看看