Compiling C++ with /clr option, but still receiving message "CLR components cannot be

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • LarryI
    New Member
    • Jan 2013
    • 1

    Compiling C++ with /clr option, but still receiving message "CLR components cannot be

    I converted my /clr:oldsyntax C++ project so it now compiles and runs using the Visual Studio's Configuration Properties, C/C++, General, Common Language RunTime Support: /clr. When I attempt to add a new windows form, I receive the message "CLR components cannot be added to a project using old syntax C++...". Does anyone have an idea of what in my project may be causing this error?
    Last edited by LarryI; Jan 29 '13, 02:21 PM. Reason: Added more detail
Working...