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
 Exception thrown when trying to edit snippets
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

dbarrie
New Member

USA
6 Posts

Posted - Dec 05 2018 :  4:29:14 PM  Show Profile  Reply with Quote
When NVIDIA Nsight is installed (at least on my machine), it apparently is initialized before Visual Assist is during VS's startup process. Since the Nsight tool uses ICSharpCode.AvalonEdit.dll, its version is the one that is loaded into Visual Studio's process. When attempting to open the VAX Snippet Editor, an exception is thrown because VAX is expecting to have been using the version of AvalonEdit that is located in its extension folder, rather than the version NVIDIA shipped with (which I guess is older and missing some functionality, or is otherwise incompatible).

You guys may need to add some library handling code that will ensure that the correct version of this DLL is being referenced by VAX!

Note that I've fixed this locally by replacing the version of AvalonEdit that Nsight ships with with the version that VAX ships with. I rarely use Nsight, and if doing this breaks Nsight I guess I'll just move it back if I need to use it...

License: XXX
VA_X.dll file version 10.9.2291.5 built 2018.10.02
DevEnv.exe version 14.0.25420.1 Professional
msenv.dll version 14.0.25425.1
Comctl32.dll version 6.10.17134.48
Windows 10 10.0 1803 Build 17134.81
32 processors (x86-64, WOW64)
Language info: 1252, 0x409

feline
Whole Tomato Software

United Kingdom
19014 Posts

Posted - Dec 08 2018 :  10:36:40 AM  Show Profile  Reply with Quote
Do you have a copy of the older version of "ICSharpCode.AvalonEdit.dll" that was causing this problem? I have installed Nsight onto a Windows 10 machine, and just done a full disk search for files called "ICSharpCode.AvalonEdit.dll" and nothing is showing up. So it seems the version of Nsight I have just downloaded does not ship with this dll.

I understand your description, just want to try and set up a test case here so we can make sure that the fix works correctly.

Please submit the files via the form:

http://www.wholetomato.com/support/contact.asp

including this thread ID or URL in the description, so we can match it up.

zen is the art of being at one with the two'ness

Edited by - feline on Dec 08 2018 10:45:43 AM
Go to Top of Page

dbarrie
New Member

USA
6 Posts

Posted - Dec 12 2018 :  3:27:58 PM  Show Profile  Reply with Quote
I've submitted the DLL via the support contact page. Sorry for the delay!

The version of Nsight I have installed seems to be "Nsight Visual Studio Edition 5.6". The DLL in question is (was) installed at <Program Files x86>\NVidia Corporation\Nsight Visual Studio Edition 5.6\Host\Common\.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19014 Posts

Posted - Dec 14 2018 :  3:22:32 PM  Show Profile  Reply with Quote
I have the dll, thank you for this. I am seeing the same problem here, easy to trigger when you have the right file in hand. I have put in a bug report for this:

case=132900

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

dbarrie
New Member

USA
6 Posts

Posted - Dec 14 2018 :  3:26:39 PM  Show Profile  Reply with Quote
I'm glad it helped! Thanks for bugging it!
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Apr 19 2019 :  11:04:22 AM  Show Profile  Reply with Quote
case=132900 is fixed in build 2331
https://support.wholetomato.com/default.asp?W404#2331
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000