RE: VS.Net Web Designer Fails to Display Design Mode



Hi Wen Yuan,

Am facing the desingner problem in windows application solution.

I am trying to open window form in designer (this form inherits another
window form "BaseForm") ,
am getting exception and Visual studis is asking to debug or cancel message
alert.
when I debugged and its said "Could not load file or assembly
'Wrappers.CLI,Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one
of its dependencies.
The system cannot find the file specified."

The WSOD contains:

One or more errors encountered while loading the designer. The errors are
listed below. Some errors can be fixed by rebuilding your project, while
others may require code changes.

Could not load file or assembly 'Wrappers.CLI, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system
cannot find the file specified.
Hide

at MyProject.BaseForm..ctor()

The version of Wrappers.CLI.dll reference is shwoing 0.0.0.0 in properties
but its actually 1.0.0.1 ( how come the version is differenet after adding
reference)

this is in C# project it has refernce to 'Wrappers.CLI' dll.
I tried
1. rebuilding
2. steps in http://www.codeproject.com/KB/cs/wsod.aspx[^]
but none was working..

-Ramki

"WenYuan Wang [MSFT]" wrote:

Hello John

It sounds like VS 2008 failed to show asp.net page in Display Design Mode
on yourside. If I misunderstood anything here, please don't hesitate to
correct me.

We have met such issue before. My suggestion is that you may try
"Devenv.exe /ResetSettings" command. This command restores Visual Studio
default settings.

Hope this helps. Please let me know if this method works. We are glad to
assist you.

Have a great day,
Best regards,

Wen Yuan
Microsoft Online Community Support
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.


.



Relevant Pages

  • RE: Problem when Form inherits from another Form
    ... I am trying to open window form in designer (this form inherits another ... One or more errors encountered while loading the designer. ... errors can be fixed by rebuilding your project, ... PublicKeyToken=null' or one of its dependencies. ...
    (microsoft.public.dotnet.framework.windowsforms)
  • When opening the Form Design- Could not load file or assembly
    ... I am trying to open window form in designer (this form inherits another ... One or more errors encountered while loading the designer. ... PublicKeyToken=null' or one of its dependencies. ...
    (microsoft.public.vsnet.ide)
  • unable to open form in designer
    ... I am trying to open window form in designer (this form inherits another ... One or more errors encountered while loading the designer. ... Some errors can be fixed by rebuilding your project, ... PublicKeyToken=null' or one of its dependencies. ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Could not load File or assembly...
    ... a FlashObject. ... Could not load file or assembly 'Interop.ShockwaveFlashObjects, ... at System.ComponentModel.Container.Add(IComponent component, String name) ... restart VS it can happen that the designer has no problem. ...
    (microsoft.public.dotnet.framework.windowsforms.designtime)

Loading