How to compile a C ++ program using .NET Framework libraries

I need to compile my C ++ program using the .NETFRAMEWORK libraries on the command line only. How can i do this?

-1


a source to share


2 answers


Download free Visual C ++ Express from Microsoft and use the C ++ / CLI language (based on C ++, but allows access to the whole .NET Framework) and from there.



+1


a source


Basically you are talking about Visual C ++ . As far as using the command line, once you have a working program, you should simply use something like:

cl MyProgram.cs /clr

      



with any other appropriate parameters and be started. If that doesn't help, ask a more specific question.

0


a source







All Articles