CodeDomProvider: where is the LIB environment variable located?

偶尔善良 提交于 2019-12-13 14:47:41

问题


I'm using a System.CodeDom.Compiler.CodeDomProvider.CreateProvider("CSharp") to compile C# classes on the fly. Recently I've switched from Visual Studio 2010 to Vistual Studio 2012. I also uninstalled SQL 2005. Since these events I've been unable to compile my classes due to the following error:

Invalid search path 'C:\Program Files\SQLXML 4.0\bin\' specified in 'LIB environment variable' -- 'The system cannot find the path specified.

Where is this "LIB environment variable" located?

I've checked my Windows 7 Environment Variables (Control Panel\System\Advanced system settings\Advanced\Environment Variables\System variable), but it's not there.


回答1:


Creating the directory will fix the problem.



来源:https://stackoverflow.com/questions/13395098/codedomprovider-where-is-the-lib-environment-variable-located

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!