"Raja" wrote:
How do I refer this class in my program?
Error 1 The type or namespace name 'GeneratedCodeAttribute' does not exist
in the namespace 'System.CodeDom.Compiler' (are you missing an assembly
reference?)
The System.CodeDom.Compiler.GeneratedCodeAttribute does not exist in
Framework 2.0 Beta 2. The attribute was added in the RTM.
I stumpled upon the same error while developing a project on two machines
one with vs2005rtm and the other with c#2005b2. The resource designer adds
the attribute to its generated code. As a workaround, you could just delete
the attribute declaration from the source code.
Mark