Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CodeDomProvider: where is the LIB environment variable located?

Tags:

c#

.net

csc

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.

like image 862
Kees C. Bakker Avatar asked Aug 02 '26 04:08

Kees C. Bakker


1 Answers

Creating the directory will fix the problem.

like image 104
Kees C. Bakker Avatar answered Aug 04 '26 17:08

Kees C. Bakker



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!