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