Visual Studio 2010 problem

Why I can't compile in Visual Studio 2010?
I write simple code like this:
1
2
3
4
5
#include "Stdafx.h"

int main(){
	return 0;
}


And I get an error:

1>LINK : fatal error LNK1104: cannot open file 'MSVCRTD.lib'
Reinstall your Visual Studio or try configure in linker options->"Additional Library Directories" to "C:\Program Files\Microsoft Visual Studio 10.0\VC\lib" value.
Topic archived. No new replies allowed.