Hi
i want to compile a c++ program using .NET2.0 compiler. so i navigate to c:\windows\Microsoft.Netframework\2.0.57\ and uses csc compiler to compile.
It shows lot of errors.
But it compiles csharp file. But in visual studio it compiles. so i think that in visual studio c++ copiler installed i think so.
filename test.cpp
using namespace System;
class test
{
void disp()
{
Console::WriteLine("Hello");
}
};
void main()
{
test *t=new test();
t->disp();
}
so plz tell me is it possible to compile c++ file using .net framework 2.0 based comiler at command prompt and how?