G
Gustavo L. Fabro
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.CodeDomSerializerBase.Error(IDesignerSerializationManager
manager, String exceptionText, String helpLink)
at
System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeExpression(IDesignerSerializationManager
manager, String name, CodeExpression expression)
at
System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeExpression(IDesignerSerializationManager
manager, String name, CodeExpression expression)
at
System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager
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
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.CodeDomSerializerBase.Error(IDesignerSerializationManager
manager, String exceptionText, String helpLink)
at
System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeExpression(IDesignerSerializationManager
manager, String name, CodeExpression expression)
at
System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeExpression(IDesignerSerializationManager
manager, String name, CodeExpression expression)
at
System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager
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