Error with VB.Net PocketPC Application

Under VS.Net Beta 2, I am developing a small test PocketPC application. On my Form1 I dropped a button and double-click the button to get to the event handler where I added a MessageBox.Show("Hello World") statement. When I build the application, I get an error...

Error 2 Type 'Microsoft.VisualBasic.CompilerServices.DesignerGenerated' is not defined. C:\Documents and Settings\jwalker\my documents\visual studio\Projects\DeviceApplication2\DeviceApplication2\Form1.Designer.vb 1 2

In the Form1.Designer.vb file, at the top of the class is an attribute,

<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _

that is the source of the error. Seems the DesignerGenerated() is not found. Any ideas as to the cause of this and any work-arounds? Thanks for any assistance.

John

[903 byte] By [JohnWalker] at [2008-1-13]
# 1
Sorry I don't have a solution for you but I can inform you that this is not a known issue. In other words, following your steps I get a project that compiles fine. I can also tell you that the DesignerGenerated attribute is supported by the CF.

Sounds like something is wrong with your installation or with the way that particular project was set up.

If you want to look at this further, I suggest trying a new project and see if that works (and also try a C# one to see if your issue is VB-specific) and then report back with the results and also your configuration (OS, options you chose at setup etc)

Cheers
Daniel

DanielMoth at 2007-8-21 > top of Msdn Tech,Smart Device Development,Smart Devices VB and C# Projects...
# 2
i have the same problem iam running Visual studios professional v2.0.50110.28 working with visual basic forms
lew26 at 2007-8-21 > top of Msdn Tech,Smart Device Development,Smart Devices VB and C# Projects...