Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / October 2004

Tip: Looking for answers? Try searching our database.

[Flags] or [FlagsAttribute] is no longer accepted by MC++

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Anders Jansson - 11 Oct 2004 10:35 GMT
Hi!

I have a Managed C++ class that previuosly compiled Ok in VS .NET 2003. The
only thing that has changed since last time I compiled my code is that I have
installed Windows XP SP2 and also updated my .Net Framework Runtime 1.1 with
the SP1. Now the compiler says:

:error C2337: 'Flags' : attribute not found; it is neither a built-in nor a
custom attribute that is accessible in the current namespace

Further down it also says:
: error C2337: 'SecurityPermissionAttribute' : attribute not found; it is
neither a built-in nor a custom attribute that is accessible in the current
namespace

I have not changed the code in any way, I just opened the VS project after
these updates, and now it does not compile! Tried to search my MSDN Library
October 2004 documentation, but can't find anything about this!

/Thanks
Alex Korchemniy - 11 Oct 2004 20:21 GMT
Double check to make sure that you have the proper references.

> Hi!
>
[quoted text clipped - 16 lines]
>
> /Thanks
Anders Jansson - 12 Oct 2004 02:55 GMT
Hi!
Yes all references and all other settings has not been changed and are
correct!

> Double check to make sure that you have the proper references.
>
[quoted text clipped - 18 lines]
> >
> > /Thanks
Anders Jansson - 24 Oct 2004 12:33 GMT
Hi All!

I have fixed this issue by re-installing Visual Studio .NET 2003 on my
machine.
Now my code compiles ok.

> Hi!
>
[quoted text clipped - 16 lines]
>
> /Thanks

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.