Greetings.
I had an user control built on Visual Studio 2003 that I used in some forms
build also with Visual Studio 2003 (C++ was the language for both cases).
Now I'm trying to port this to VS 2005. The forms that use these specialized
..NET /CLR compiled controls will compile and run, but won't show in the
Design editor.
What happens is that when I double click the .h file to open it under the
design editor, the application freezes for about 30s (sometimes more) and
then shows the message:
"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. Clicking on each error will take you to the
line of code that caused it.
Could not find type 'QiVControls.PercentualEdit'. Please make sure that the
assembly that contains this type is referenced. If this type is a part of
your development project, make sure that the project has been successfully
built.
The variable 'edAddWeight' is either undeclared or was never assigned.
Hide
at
System.ComponentModel.Design.Serialization.CodeDom SerializerBase.Error(IDesignerSerializationManager
manager, String exceptionText, String helpLink)
at
System.ComponentModel.Design.Serialization.CodeDom SerializerBase.DeserializeExpression(IDesignerSeri alizationManager
manager, String name, CodeExpression expression)
at
System.ComponentModel.Design.Serialization.CodeDom SerializerBase.DeserializeExpression(IDesignerSeri alizationManager
manager, String name, CodeExpression expression)
at
System.ComponentModel.Design.Serialization.CodeDom SerializerBase.DeserializeStatement(IDesignerSeria lizationManager
manager, CodeStatement statement)
"
I noticed also that my hard drive space had vanished. After a good search I
found that, while in those 30s the program was trying to open the form under
the designer, it was eating up space creating folders under
C:\Documents and Settings\MyUserName\Local Settings\Application
Data\Microsoft\VCExpress\8.0\ProjectAssemblies\
All the folders had the same creation time as when VS was trying to load the
file. Inside each folder there was a copy of the DLL (and respective .PDB
file) *that hold the controls I was trying to load*. Is this mere
coincidence?
In one load attempt, it created 466 files, totalizing 218 MB! Is this right?
After a whole day of programming, the folder got as big as 2GB. After the
system restarted, it automatically cleaned up the folder a bit. What can be
going on?
..Fabro 3 3401
> "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. Clicking on each error will take you to the line of code that caused it.
Could not find type 'QiVControls.PercentualEdit'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built.
The variable 'edAddWeight' is either undeclared or was never assigned.
I found out one workaround for the problem. The workaround consists on
right-clicking the "Toolbox", selecting "Choose Items...", removing all
references to my user controls, hitting OK, doing this again, selecting
"Browse...", loading the DLL with the controls again and hitting OK.
This way, if I try to load the form under de designer it *will* load the
form and won't show the error message.
But as things in life, happiness doesn't last long.
The form will load during the particular VC session I did this. If I close
VC, run it again and try to load the form again, the problem strikes back!
Guess this is a Beta2 related issue... or do I smell DLL hell problems!?
hmmm...
I noticed also that my hard drive space had vanished. After a good search I found that, while in those 30s the program was trying to open the form under the designer, it was eating up space creating folders under
C:\Documents and Settings\MyUserName\Local Settings\Application Data\Microsoft\VCExpress\8.0\ProjectAssemblies\
All the folders had the same creation time as when VS was trying to load the file. Inside each folder there was a copy of the DLL (and respective .PDB file) *that hold the controls I was trying to load*. Is this mere coincidence?
In one load attempt, it created 466 files, totalizing 218 MB! Is this right?
For this, though, I still do not have a reasonable explanation. Beta2
issues,
I suppose!
..Fabro
Hi Fabro,
It is possible that this issue comes from a Windows Forms setting that
we usually disable in the Visual C++ profile. Can you try going into
Tools \ Options \ Windows Forms Designer, then under the "Toolbox"
category, set the "AutoToolboxPopulate" property to False.
Thanks,
--
Boris Jabes, Visual C++ Team
This posting is provided "AS IS" with no warranties, and confers no
rights.
Hi Fabro,
It is possible that this issue comes from a Windows Forms setting that
we usually disable in the Visual C++ profile. Can you try going into
Tools \ Options \ Windows Forms Designer, then under the "Toolbox"
category, set the "AutoToolboxPopulate" property to False.
Thanks,
--
Boris Jabes, Visual C++ Team
This posting is provided "AS IS" with no warranties, and confers no
rights. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Gustavo L. Fabro |
last post by:
Greetings.
I had an user control built on Visual Studio 2003 that I used in some forms
build also with Visual Studio 2003 (C++ was the language for both cases).
Now I'm trying to port this to...
|
by: Brad |
last post by:
I'm not one to rant or flame....so please excuse me while I do so for this
once. I've now spent a bit of time working with VS2005 beta 2 to see how it
functions for web development, especially how...
|
by: David Hearn |
last post by:
Timeout expired. The timeout period elapsed prior to completion of the
operation or the server is not responding.
Description: An unhandled exception occurred during the execution of the
current...
|
by: DEWright_CA |
last post by:
I have built a pretty basic site and now when I try t debug it I get a error
that says;
{0}: Build (web): "The type initializer for
'System.Web.Compilation.CompilationLock' threw an exceptoin.
...
|
by: Jason Richmeier |
last post by:
I keep encountering an error message while trying to build a solution that I
cannot seem to get around. I cannot figure out what the error is trying to
tell me as there does not appear to be much...
|
by: brettmetcalfe |
last post by:
Hi
I have a problem publishing a web application. The web application has
been developed using VS2005 and uses ASP.Net 2.0. The application
works fine from inside VS2005. However when I build...
|
by: Lonifasiko |
last post by:
Hi,
A friend of mine has developed an ASP.NET application with VS2005. Of
course, this application has been run for testing purposes in the
default web server VS2005 has.
I've copied...
|
by: =?Utf-8?B?TWFydGluIEhvcnRvbg==?= |
last post by:
I am trying to precompile a working website, developed using VS2005 with the
intention of deploying to an IIS webserver.
I first tried right clicking on the project, selecting "Publish Web Site"...
|
by: fischermx |
last post by:
Environment:
Microsoft Visual Studio 2005
Version 8.0.50727.762 (SP.050727-7600)
Microsoft .NET Framework
Version 2.0.50727
Microsoft Visual Studio 2005 Professional Edition - ENU Service Pack...
|
by: Torben Laursen |
last post by:
I use the component WebBrowser on a form.
Each time I open the form with the component inside VS2005 I get this error:
"Windows Internet Explorer
Cannot find...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |