I recently upgraded from VS 2005 to VS 2008. It was all peaches and cream until I started getting this mysterious error. If you do a search, the MSDN blog will come up with this post.
Unfortunately, the person writing the blog didn’t write the actual instructions in the blog, and the links are totally out of date! What to do??? Fortunately for us, my former team ( Go Brent Serbus, Don Tan, and crew! ) and helpful MVP Taylor Michael come to the rescue.
I’ll distill his wisdom into some more easily followed steps ( XP, I haven’t got on the Vista train yet ):
- Go into Control Panel -> System -> Advanced -> Environment Variables
- You’ll see a variable called LIB. The old entries if you use all the default values will look like something from the Title of the blog post. You should be getting 1 warning per offending entry in the LIB variable.
- Delete all the entries that are causing your problems. I know its scary. Take a deep breath and do it. Apparently this is some holdover from VS 2005/2003 that doesn’t get updated with the installer/updater.
- Restart Visual Studio.
- Voila! Your warnings should be gone.
Hope this helps. It drove me nuts looking for a straight answer.