1

I know that C# applications will require the .Net framework to execute on any given machine. However, I am curious, in order for CodeDom to work properly must Visual Studio also be installed on the computer the application is being run? I only ask because doesn't CodeDom use a file that is part of the VS installation when producing files?

If you know of any other system requirements I would appreciate hearing about them.

svick
  • 236,525
  • 50
  • 385
  • 514
  • “C# applications in general require .Net 2.0” C# applications written for .Net 2.0 do. C# applications written for different versions of the framework obviously require different versions of the framework. – svick Aug 21 '11 at 14:15

1 Answers1

2

No, using CodeDOM doesn't require Visual Studio to be installed. It works fine without it.

And compiling code by yourself doesn't require VS either. All you need is the C# compiler – csc.exe. And that is part of the .Net installation. When compiling source code to an assembly, CodeDOM actually invokes csc.exe.

svick
  • 236,525
  • 50
  • 385
  • 514