Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Exception thrown when trying to edit snippets

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
dbarrie Posted - Dec 05 2018 : 4:29:14 PM
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
5   L A T E S T    R E P L I E S    (Newest First)
sean Posted - Apr 19 2019 : 11:04:22 AM
case=132900 is fixed in build 2331
https://support.wholetomato.com/default.asp?W404#2331
dbarrie Posted - Dec 14 2018 : 3:26:39 PM
I'm glad it helped! Thanks for bugging it!
feline Posted - Dec 14 2018 : 3:22:32 PM
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
dbarrie Posted - Dec 12 2018 : 3:27:58 PM
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\.
feline Posted - Dec 08 2018 : 10:36:40 AM
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.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000