I am trying to create a program that uses the Regex class in namespace System::Text::RegularExpressions, but the compiler says it does not exist
Error 1 error C2039: 'RegularExpressions' : is not a member of 'System::Text'
Did it move
Thanks
I am trying to create a program that uses the Regex class in namespace System::Text::RegularExpressions, but the compiler says it does not exist
Error 1 error C2039: 'RegularExpressions' : is not a member of 'System::Text'
Did it move
Thanks
RegularExpressions namespace seems to have moved in VC 2005
Ben Gracewood
Due to a bug in Visual Studio, you can sometimes run into this situation. It typically occurs when you create an unmanaged app, but then change your mind and decide you want to use the .Net framework after all.
When you add in /clr support later, Visual studio forgets to add references to System, System.Data, System.XML, System.Drawing and System.Windows.Forms. In order to have these references, you'll have to create new projects that are CLR based (rather than have an unmanaged app first, then decide you want .Net after all)
Harkonenn
Wassim
That was it, I am still new to vs 2005 so I didn't know about that one.
Thanks
gauravmangla
That is what I did. At first I told it not to use managed but then changed my mind.
Thanks again