Problems with 2.5.0.4

TeeGofer general
Locked
Christian
Newbie
Newbie
Posts: 2
Joined: Mon Oct 06, 2003 4:00 am
Location: Aachen, Germany
Contact:

Problems with 2.5.0.4

Post by Christian » Fri Feb 27, 2004 1:32 pm

Hi,

I've just posted something on the newsgroup for TeeGofer, but now I found additional information and I like forums more, so I'm posting this here.

I gave up on my old project file and created a new one. After adding like 6 assemblies to it, I got the same ArgumentException. I doesn't matter which assemblies I add, after they are more than 6 or so, the exception occurs. So I'm not able to recreate my old project in any way.

I hope this can be fixed soon, since I deleted my 2.5.0.3 version of TeeGofer and cannot revert back to the old version... Well, I should've known better ;)

Christian

Here's the exception again:

System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.Collections.ArrayList.get_Item(Int32 index)
at TeeGofer.MetaViewerForm.SaveExistingNodeInfo(Hashtable tmpNodeObjHashTable, Int32 Count)
at TeeGofer.MetaViewerForm.RefreshProjectContents()
at TeeGofer.MetaViewerForm.RefreshProject()
at TeeGofer.MetaViewerForm.menuItem7_Click(Object sender, EventArgs e)
at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
at System.Windows.Forms.MenuItemData.Execute()
at System.Windows.Forms.Command.Invoke()
at System.Windows.Forms.Control.WmCommand(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/winnt/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
TeeGofer
Assembly Version: 2.5.0.4
Win32 Version: 2.5.0.4
CodeBase: file:///C:/PROGRA~1/STEEMA~1/TEEGOF~2/TeeGofer.exe
Last edited by Christian on Fri Feb 27, 2004 1:44 pm, edited 1 time in total.

Christian
Newbie
Newbie
Posts: 2
Joined: Mon Oct 06, 2003 4:00 am
Location: Aachen, Germany
Contact:

Post by Christian » Fri Feb 27, 2004 1:43 pm

An unrelated problem:

I have an internal class with nested, public classes. I usually only make the parent internal and keep everything inside public.

Problem is that the public nested classes appear in TeeGofers output even though are invisible to any user of my class.

Christopher
Site Admin
Site Admin
Posts: 1349
Joined: Thu Jan 01, 1970 12:00 am
Location: Riudellots de la Selva, Catalonia
Contact:

Post by Christopher » Mon Mar 01, 2004 8:58 am

Hi --
I gave up on my old project file and created a new one. After adding like 6 assemblies to it, I got the same ArgumentException. I doesn't matter which assemblies I add, after they are more than 6 or so, the exception occurs. So I'm not able to recreate my old project in any way.
Mmm, I'm afraid I haven't been able to reproduce this one here. I'm using the assembly created by the Steema SimpleControl solution that can be found under:
C:\\Program Files\\Steema Software\\TeeGofer v2\\Examples\\SteemaSimpleControlSolution

I created seven assemblies, changing the Assembly Name, Default Namespace, XML Documentation File names each time (SteemaSimpleControlI.dll & SteemaSimpleControlI.xml, SteemaSimpleControlII.dll & SteemaSimpleControlII.xml etc.) and added all seven into a new TeeGofer v2.5.0.3 project. I then saved the project, opened one of the XML Documentation Files and changed one of the comments and then did an Edit -> Refresh. No exception was thrown and the changed XML comment appeared correctly.

Could you please try and reproduce the behaviour above? If you get the same result, can you identify what is special about your assemblies/XML documentation files?

Many thanks!
Thank you!

Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/

Christopher
Site Admin
Site Admin
Posts: 1349
Joined: Thu Jan 01, 1970 12:00 am
Location: Riudellots de la Selva, Catalonia
Contact:

Post by Christopher » Mon Mar 01, 2004 9:47 am

Hi --
I have an internal class with nested, public classes. I usually only make the parent internal and keep everything inside public.

Problem is that the public nested classes appear in TeeGofers output even though are invisible to any user of my class.
OK, I've been able to reproduce this one here and have added it to the list of defects of TeeGofer, meaning that a fix to it will be considered for inclusion in the next maintenance release.

As a workaround, may I suggest that the accessibility of all nested classes within internal classes be changed to internal, given that this will not affect the nested classes visibility.
Thank you!

Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/

Locked