HighTechTalks DotNet Forums  

What's with VS2005 going stupid on the designers?

Dotnet Framework (Compact Framework) microsoft.public.dotnet.framework.compactframework


Discuss What's with VS2005 going stupid on the designers? in the Dotnet Framework (Compact Framework) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Earl
 
Posts: n/a

Default What's with VS2005 going stupid on the designers? - 03-14-2006 , 06:31 PM






Boy, this is something that MS needs to fix fast. Every now and then the
designer just goes plain stupid for no rhyme or reason and gives off the
gross error message "One or more errors encountered while loading the
designer."

Even with this error, the code compiles and runs fine. But obviously you
cannot edit the form, and the only resolution I have found is to close the
application and re-open it.

It would be good to hear others experience, but just as important, it would
be great to hear from someone at Microsoft who is aware of the problem and
can enlighten us when there will be a resolution (can anyone say service
pack?)



Reply With Quote
  #2  
Old   
Sriram Krishnan [MSFT]
 
Posts: n/a

Default Re: What's with VS2005 going stupid on the designers? - 03-18-2006 , 01:18 AM






Earl wrote:
Quote:
Boy, this is something that MS needs to fix fast. Every now and then the
designer just goes plain stupid for no rhyme or reason and gives off the
gross error message "One or more errors encountered while loading the
designer."

I'm not aware of any issue which does this. Can you send me a project
which repros this? Send it to sriramk [at] microsoft [dot] com


--
Sriram Krishnan
Visual Studio for Devices
http://blogs.msdn.com/sriram


Reply With Quote
  #3  
Old   
Will Chapman
 
Posts: n/a

Default Re: What's with VS2005 going stupid on the designers? - 03-23-2006 , 01:42 AM



Earl wrote:
Quote:
Boy, this is something that MS needs to fix fast. Every now and then the
designer just goes plain stupid for no rhyme or reason and gives off the
gross error message "One or more errors encountered while loading the
designer."

I've had this problem a number of times to the extent that the only
workaround was to rebuild the form.

I recently read a blog/forum post somewhere that suggested the problme s
caused by adding user/business code to auto-generated code areas that
should be left alone. As a newcomer to C#/Visual Studio I have found
this easy to do so I am now concentrating on adding business code to my
own classes and using the Partial Class and other new features (see below).

I note that this problem is also easier to avoid in code generated in
VS2005 because new projects created in VS2005 is split into frmClass,
partial FrmClass, frmClass.Designer and Program.cs. This does not happen
if the project was created in VS2003 and imprted into VS2005.


Regards


Will Chapman




Reply With Quote
  #4  
Old   
Will Chapman
 
Posts: n/a

Default Re: What's with VS2005 going stupid on the designers? - 03-23-2006 , 01:42 AM



Earl wrote:
Quote:
Boy, this is something that MS needs to fix fast. Every now and then the
designer just goes plain stupid for no rhyme or reason and gives off the
gross error message "One or more errors encountered while loading the
designer."

I've had this problem a number of times to the extent that the only
workaround was to rebuild the form.

I recently read a blog/forum post somewhere that suggested the problme s
caused by adding user/business code to auto-generated code areas that
should be left alone. As a newcomer to C#/Visual Studio I have found
this easy to do so I am now concentrating on adding business code to my
own classes and using the Partial Class and other new features (see below).

I note that this problem is also easier to avoid in code generated in
VS2005 because new projects created in VS2005 is split into frmClass,
partial FrmClass, frmClass.Designer and Program.cs. This does not happen
if the project was created in VS2003 and imprted into VS2005.


Regards


Will Chapman




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.