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

     

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

  • 相关阅读:
    Storm中的定时任务
    Storm的acker确认机制
    ORACLE数据库表解锁record is locked by another user
    Java生成某段时间内的随机时间
    Linux中断概述
    Linux内核同步:RCU
    Linux内核同步:自旋锁
    Linux软中断、tasklet和工作队列
    Linux信号机制
    缺页异常处理
  • 原文地址:https://www.cnblogs.com/zjgtlkj/p/3323573.html
Copyright © 2011-2022 走看看