3

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.

Kees C. Bakker
  • 32,294
  • 27
  • 115
  • 203
  • As a workaround I've created the directory 'C:\Program Files\SQLXML 4.0\bin\' I still can't find this amazing LIB variable :( – Kees C. Bakker Nov 15 '12 at 11:37

1 Answers1

2

Creating the directory will fix the problem.

Kees C. Bakker
  • 32,294
  • 27
  • 115
  • 203