Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 ImageList TargetInvocationException
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

richardneverett
New Member

USA
3 Posts

Posted - Jul 18 2005 :  01:28:07 AM  Show Profile
Since installing VisualAssist I am getting the following exception in C# and VB.NET:

An unhandled exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll

Additional information: Exception has been thrown by the target of an invocation.


To replicate:
(1) Create a new WinForms project
(2) Add an ImageList control
(3) Add a single image (.bmp, or .ico) to the ImageList
(4) Compile and run

I get the above exception on the line:

this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));

I have deinstalled VisualAssist, and am still getting this exception.

As far as I can tell, this has been happening only since I installed VisualAssist, and is causing me a major problem. If anyone can advise me on a fix, please respond to this post. Many thanks in advance.

My system info:
VA_X.dll file version 10.1.1418.0 built 2005.06.24
Licensed to:
VA X:
VA.NET 7.1:
VAOpsWin.dll version 1.2.0.4
DevEnv.exe version 7.10.3077.0
msenv.dll version 7.10.3077.0
Font: Arial monospaced for SAP 13(Pixels)
Comctl32.dll version 6.0.2900.2180
WindowsNT 5.1 Build 2600 Service Pack 2
Single processor
Platform: Win32
Stable Includes:
c:\\program files\\microsoft visual studio .net 2003\\vc7\\include;
c:\\program files\\microsoft visual studio .net 2003\\vc7\\atlmfc\\include;
c:\\program files\\microsoft visual studio .net 2003\\vc7\\PlatformSDK\\include\\prerelease;
c:\\program files\\microsoft visual studio .net 2003\\vc7\\PlatformSDK\\include;
c:\\program files\\microsoft visual studio .net 2003\\sdk\\v1.1\\include;

Library Includes:
c:\\program files\\microsoft visual studio .net 2003\\vc7\\atlmfc\\src\\mfc;
c:\\program files\\microsoft visual studio .net 2003\\vc7\\atlmfc\\src\\atl;
c:\\program files\\microsoft visual studio .net 2003\\vc7\\crt\\src;

Other Includes:

sean
Whole Tomato Software

USA
2817 Posts

Posted - Jul 18 2005 :  02:45:41 AM  Show Profile
This might be the manifest bug. See if the installer left behind devenv.exe.manifest in a visual studio directory.

see http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=3741&SearchTerms=manifest
Go to Top of Page

richardneverett
New Member

USA
3 Posts

Posted - Jul 18 2005 :  12:44:01 PM  Show Profile
It seems that this was "the manifest bug", many thanks Sean.

Edited by - richardneverett on Jul 18 2005 12:44:23 PM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Jul 18 2005 :  4:31:17 PM  Show Profile
if you want to try VAX again install it, and then manually delete this manifest file "devenv.exe.manifest" before loading the IDE.

currently you will have to delete this file each time you install a VAX update, but this is not to bad for the advantages VAX should offer you

zen is the art of being at one with the two'ness
Go to Top of Page

richardneverett
New Member

USA
3 Posts

Posted - Jul 18 2005 :  4:35:51 PM  Show Profile
We have a number of critical deadlines coming up in the next two weeks, so I think I will play it safe and not install VAX again until after then. Then I can take more time to review it.

Edited by - richardneverett on Jul 18 2005 4:36:26 PM
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Jul 18 2005 :  9:18:15 PM  Show Profile
case=697
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000