PDA

View Full Version : خطا IntelliSense: #error directive: Please use the /MD switch for _AFXDLL builds



sunn789
جمعه 24 دی 1389, 10:03 صبح
سلام
این خطا برا چی به وجود میاد ؟

Hadirj
جمعه 24 دی 1389, 11:42 صبح
1. Right-click the Project.
2. Go to Config Properties->C/C++-> Code Gen ->. Double-click "Runtime Library" and set to "Multi-threaded Debug DLL (/MDd)" . If this value already appears to be set, make sure it is by selecting it again (it should then appear as bold).
3. Click OK.

منبع (http://connect.microsoft.com/VisualStudio/feedback/details/549119/intellisense-error-on-build-solution)