Reputation: 14011
HI i write a code like
filename test.cpp
#include<stdio.h>
void main()
{
printf("Hello");
}
}
I have .Net Framework 2.0 installed in my computer. Compiling using MSBuild.exe
when i try to compile this from command line and navigated to .NET frameworl 2.0 folder using msbuild.exe it shows warning and error that VCBuild.exe not available install framework2.0 sdk do i really need it ???
Help me
Upvotes: 0
Views: 643
Reputation:
You can't build a .net project by using only .net framework's msbuild.exe You need to have a .net framework 2.0 SDK or you should have installed .net Studio. Better you install visual studio express edition and use MSBuild.exe to your app without opening visual studio's IDE.
Upvotes: 0
Reputation: 43084
Try the free Visual C++ compiler, that should get you what you are looking for.
You can find it here.
Upvotes: 1
Reputation: 1501163
Well you need a C++ compiler from somewhere, certainly - and there's no C++ compiler in the plain framework (unlike C#).
Upvotes: 0