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)"

     

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

  • 相关阅读:
    eclipse安装Aptana 插件,支持Javascript
    C++字符串转换成uint64类型
    C语言字节对齐
    Windows版本Traceroute
    ubuntu下使用FireBug调试Javascript脚本
    TCP拥塞控制图
    nodejs点滴
    你应该知道的16个Linux服务器监控命令
    C语言运算符(转载)
    常用正则表达式
  • 原文地址:https://www.cnblogs.com/zjgtlkj/p/3323573.html
Copyright © 2011-2022 走看看