c# - Migrating Visual Studio 2005 sln to 2008, warning with vc98 paths in LIB environment variable, how to fix? -


I am migrating a solution to Visual Studio 2008 from Visual Studio 2005. When I create a solution in 2005, I do not have any issues though, after I use / upgrade to devenv.exe and then use MSBuild on the solution, I get the following warning:

CSC: Alert CS1668: 'Liberalization Environment Variables' specified in the illegal research path' \ vc98 \ lib '-' The system can not find the specified path. 'CSC: Alert CS1668: Invalid search path' \ vc98 \ mfc \ lib 'Specified' LIB Environment variable '-' The system can not detect the specified path. 'CSC: Alert CS1668: Invalid search path' C: \ program files \ microsoft visual studio 9.0 \ vc \ platformsdk \ lib 'Specified' LIB environment variable '-' The system can not find the specified path. '

I have checked and it does not provide any support because my LIB and the environment variables included in it are not set in user wars or system wars.

Library files :: I have seen Studio Tools> Options> Projects and Solutions> VC ++ Directories and there is nothing the old reference is $ (VCInstallDir) lib $ (VCInstallDir) atlmfc \ lib $ (VCInstallDir) atlmfc \ lib \ i386 $ (WindowsSdkDir) \ lib $ (FrameworkSDKDir) lib $ (VSInstallDir) $ (VSInstallDir) lib

Include files:

$ ( VCInstallDir includes $ $ (VCInstallDir) atlmfc \ $ (includes WindowsSdkDir) $ (FrameworkSDKDir)

I used in diagnostic production, so that I could see included What is the liberalization variable when it is being called in:

lib = c: \ Program Files \ Microsoft Visual Studio 9.0 \ VC \ ATLMFC \ Liberalization: \ Program Files \ Microsoft Visual Studio 9.0 \ VCL Liberalization ; C: \ Program Files \ Microsoft SDKs \ Windows \ v6.0A \ lib; \ Vc98 \ lib; \ Vc98 \ MFC \ lib c: \ Program Files \ Microsoft Visual Studio 9.0 \ vc \ platformsdk \ lib c: \ Program Files \ Microsoft Visual Studio 9.0 \ vc \ lib c: \ Program Files \ Microsoft Visual Studio 9.0 \ vc \ atlmfc \ Lib; LIBPATH = c: \ Windows \ Microsoft.NET \ Framework \ v3.5; C: \ Windows \ Microsoft.NET \ Framework \ v2.0.50727; C: \ Program Files \ Microsoft Visual Studio 9.0 \ VC \ ATLMFC \ LIB; C: \ Program Files \ Microsoft Visual Studio 9.0 \ VC \ Lib

So if the Wock 9 8 is not in my nova wars, or my studio settings and VC980 are not even installed (nor did the reader ), Where is that way coming from? What process set LIB env var like this?

found on:

Yes it is a known issue For some people, watch carefully in your LIB path after ATLMFC, V, SDK -> \ vc98 \ lib delete this entry (and the one after that). If LIB is a user variable then you have to restart the VS or maybe have to log on if it is a system variable then you have to reboot and then your error will be resolved.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -