Visual Studio 2012 - Required file “tracker.exe” is missing

孤人 提交于 2019-12-01 03:20:38

A quote from MS website about tracker.exe:

Tracker.exe is required to correctly incrementally generate resources in some circumstances, such as when building on a 64-bit OS using 32-bit MSBuild. This build requires Tracker.exe, but it could not be found. The task is looking for Tracker.exe beneath the InstallationFolder value of the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A.

Possible solutions:

  • Install the Microsoft Windows SDK v7.0A or later.
  • Manually set the above registry key to the correct location.
  • You short-circuit that lookup instead by setting the ResGenTrackerSdkPath property to the 7.1 .NET 4.0 tools location. In the build definition, under "MSbuild Arguments", you can add the following:

/p:ResGenTrackerSdkPath=":\Program Files(x86)\Microsoft SDKs\Windows\v7.1\Bin\NETFX 4.0 Tools

EDIT: your path may differ a little, but this still shows the general path to add

Vagus

You can go to the directory "C:\Program Files (x86)\Microsoft SDKs\Windows".

Then, you search for the key "tracker.exe", if you can't find it, it might been deleted somehow.

The best way is:

Copy the folder "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools"

To your PC at the same directory. If it didn't work, you can copy the folder into them[the following picture] every one.

picture:

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!