When I build my projects I get no error, but when I hit F7 to simply build the solution, I always get this IntelliSense error:
IntelliSense: #error directive: Please use the /MD switch for _AFXDLL builds c:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxver_.h
I see no trace of this if building with "MSBuild MyProject.sln /v:d". The project name is empty, so I cannot trace where the error comes from, even though I'm sure I have properly set my switches/defines.
Using MFC exe + MFC extension dlls (DllMain-like) + Xtreme ToolkitPro.