.NET 2003 link-library dependency-checking bug

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

There seems to be a bug in the link-library dependency checking in VS.NET 2003.
Under the Configuration->Linker->General->Additional Library Directories
property,
if you specify a directory name such as "$(SolutionDir)\..\lib", it will
link properly, but when you try to run in the IDE will complain that the
"project configuration is out of date." It turns out that $(SolutionDir)
already contains a trailing '\', so that changing the "Additional Library
Directories" to $(SolutionDir)..\lib will remove the repeated '\' and
suddenly the IDE stops complaining the project is out of date. The
dependency checker apparently gets confused by multiple repeated backslashes,
which it should not since the file system and linker handles it fine.
 
Back
Top