<atomic> not supported error in visual studio 2012

Feb 13, 2015 at 11:20 AM

I have installed the C++ REST SDK by NuGet package and it is now embedded into my project but when I compile the program, I get the following error:

C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\atomic(9): fatal error C1189: #error : <atomic> is not supported when compiling with /clr or /clr:pure.
Feb 13, 2015 at 5:26 PM
Hi ramyakuruba,

This error is correct. It is not possible to use the C++ REST SDK with C++/CLI.