Bookmark and Share

Friday, October 30, 2009

Error C1108, "alink.dll" not found on VS2005,Windows 7

After the upgrade from Vista to Windows 7 I started to see some weird errors during the build step of VS2005 VC++ projects, the error was:

"fatal error C1108: unable to find DLL: 'alink.dll'"
Another problem was the crash of mt.exe during the updating of the manifest.
If you have installe the VS2010 beta before the Windows 7 Upgrade, here is the solution to these errors:
  • Uninstall VS2010 beta
  • cmd /c "msiexec /x {19BD09BF-3BBD-3663-A5ED-50B6B2B07E42} /qb"
  • cmd /c "msiexec /x {1DF6A8F6-5048-323F-8758-DA533CE0F07E} /qb"
These commands will remove the Beta1 4.0 Framework from your machine, and after this all the projects will compile succesfully.
More details on:
http://social.msdn.microsoft.com/Forums/en-US/netfxsetup/thread/a5d827d7-05b4-41b9-9565-e9e4abb12e66
Hope it helps,