zoukankan      html  css  js  c++  java
  • FileTracker.dll错误 Upgraded 2010 Project Compile Error

    I am running on windows xp sp3 and when I converted my 2010 project and tried to compile I get the following error:

    Error    1    The "GenerateResource" task failed unexpectedly.
    System.DllNotFoundException: Unable to load DLL 'FileTracker.dll': A dynamic link library (DLL) initialization routine failed. (Exception from HRESULT: 0x8007045A)
    at Microsoft.Build.Shared.NativeMethodsShared.InprocTracking.StartTrackingContextWithRoot(String intermediateDirectory, String taskName, String rootMarker)
    at Microsoft.Build.Utilities.FileTracker.StartTrackingContextWithRoot(String intermediateDirectory, String taskName, String rootMarkerResponseFile)
    at Microsoft.Build.Tasks.GenerateResource.Execute()
    at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
    at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask, Boolean& taskResult)    BoldtUpdtEvnt

    今天公司准备用VS2010做一个win form软件,然后三个电脑都遇到同样的问题,经过一番研究终于找到了解决办法。

    Solution:

    In the build log in VS it says:
    C:WindowsMicrosoft.NETFrameworkv4.0.30128Microsoft.Common.targets(1835,9): error MSB4018: The "GenerateResource" task failed unexpectedly.
    Locate the <GenerateResource> tag at Line 1835 in Microsoft.Common.targets and remove the attributes TrackFileAccess and TrackerLogDirectory in the same tag.

    定位到 C:WindowsMicrosoft.NETFrameworkv4.0.30128Microsoft.Common.targets打开这个文件,定位到1835行,删除attributes TrackFileAccess 和TrackerLogDirectory两个属性,然后保存,关闭VS2010,重启VS就可以了。

  • 相关阅读:
    运算符
    JavaScript
    javascript——1
    学习总结
    java开发在线下载功能,自动打开浏览器下载功能下载网络文件或图片
    input 输入框正则表达式限制小数,数字
    【Linux】清理Redis病毒程序kdevtmpfsi
    IDEA 2020.1 版修改pom.xml无法自动导入MAVEN依赖
    【Python】 requests 爬取博客园内容AttributeError: 'NoneType' object has no attribute 'xpath'
    Mysql Column 'xxxxx' in field list is ambiguous"
  • 原文地址:https://www.cnblogs.com/chenxu520/p/3184261.html
Copyright © 2011-2022 走看看