I got this error, when I tried to build a project in Visual Studio 2010 (professional).
System.DllNotFoundException: Unable to load DLL 'FileTracker.dll': The specified module could not be found.
This build error occurred only in projects in which resource files were used.
Resolution:
1) Open "Microsoft.Common.targets" file located at "C:\Windows\Microsoft.NET\Framework\v4.0.30128".
2) Locate the following line "<TrackFileAccess Condition="'$(TrackFileAccess)' == ''">true</TrackFileAccess>"
3) Change the value to "false"
4) Do the same for the file found in "Framework64" folder also.
Note:
If we have to get rid of this problem in all the machines where it would be deployed, we can edit the ".csproj" file of our project, to include the following lines:
<PropertyGroup>
<TrackFileAccess>false</TrackFileAccess>
</PropertyGroup>
Make sure that this is at the the bottom of the file just before the closing project tag (</Project>).
Doing so, will however slow down the build time, during deployment.
Hey Karthik, Your tip helped me get rid of the problem I started getting after uninstalling web developer express and reinstalling vs 2010. thanks a lot.
ReplyDeleteHi Karthik,
ReplyDeleteThe tip was of grea help in resovling the issues with builduing UI Applications
Thanks a Lot....
ReplyDeleteThis helped me , Thanks karthik . spent almost 4Hrs before i found this article.
ReplyDeleteThank you, Karthik! This article helped me!
ReplyDelete