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
 Seriously worried about VA's state of mind
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Uniwares
Tomato Guru

Portugal
2320 Posts

Posted - Apr 23 2020 :  11:51:29 AM  Show Profile  Reply with Quote
WTF??? The caret is positioned in the line that reads "#region Public Properties". The VA Nav bar shows a MySql namespace. In the whole solution is no reference to any MySql assembly.
Where does VA pull this out? This happens on ALL regions with the name "Properties" in it.

When I put the caret before the "Properties" the nav bar remains empty.

Here the references from this project:







Edited by - Uniwares on Apr 23 2020 12:26:41 PM

feline
Whole Tomato Software

United Kingdom
18749 Posts

Posted - Apr 23 2020 :  1:56:51 PM  Show Profile  Reply with Quote
Would you believe I cannot reproduce this here? Just for a change

I have a Windows 10 VM, using VS2019 and VA 2366.0, where I have imported your IDE and VA settings, and opened the Q7 solution you sent us to test a colouring problem. I am sitting in the file "AccessPermissions.cs" which has suitable regions, similar to your 3rd screen shot.

With the caret at the end of each of the 7 collapsed region lines, my VA context and navigation field is always blank. Do you have the same solution on hand, to easily test the same file?

The only obvious difference I am seeing here is that you can move your caret past the end of the line. In the settings I imported Virtual Space is turned Off. Is this turned On for you? I don't see why this should matter, but it is a possible difference.

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

Uniwares
Tomato Guru

Portugal
2320 Posts

Posted - Apr 24 2020 :  05:15:54 AM  Show Profile  Reply with Quote
I see that in every file in the Q7 solution, which has considerably grown in the meantime, so that may be a factor.


As you can see, it happens in the very same file too, which hasnt changed much to the version you have.
Region collapsed or not, makes no difference. Somehow VA pics up the "Properties" which really IS an symbol in the MySql assembly, just that a) the assembly is not used and b) well, its a region

Go to Top of Page

Uniwares
Tomato Guru

Portugal
2320 Posts

Posted - Apr 24 2020 :  05:18:07 AM  Show Profile  Reply with Quote
I do not see that happening in other projects though. I gonna send you the current project, lets see if you can repro the case.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18749 Posts

Posted - Apr 24 2020 :  09:39:07 AM  Show Profile  Reply with Quote
I will keep an eye out for the new project, thank you for this. I can only assume something about the symbol "Properties" is triggering something in our symbol database, but VA should realise this is a #region line, so a comment.

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

Uniwares
Tomato Guru

Portugal
2320 Posts

Posted - Apr 24 2020 :  09:54:20 AM  Show Profile  Reply with Quote
I have now done a "Rebuild symbol databases", restarted VS, no more MySql Properties now. Still, leaves the fact of erronously identifying a region comment as a symbol.
And, what might be of interest: as already mentioned, other projects didnt show this, even though loaded in the same VS session. Seems that its solution specific.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18749 Posts

Posted - Apr 24 2020 :  11:46:26 AM  Show Profile  Reply with Quote
I have the new version of the Q7 solution, thank you for this.

Since the symbol database rebuild are you able to reproduce this problem in this solution? Or are you just getting a blank navigation bar for the region lines?

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

Uniwares
Tomato Guru

Portugal
2320 Posts

Posted - Apr 24 2020 :  11:47:59 AM  Show Profile  Reply with Quote
Blank as it should be now.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18749 Posts

Posted - Apr 25 2020 :  07:52:28 AM  Show Profile  Reply with Quote
A second data point suggesting something is causing problems for VA's symbol database with this solution.

Do you normally work with a single instance of the IDE open, or more than one instance open?

Is this solution being worked on across several machines, or just one? I am wondering if source control will retrieve a block of updates from a second machine, or if VA should see all changes as you are editing locally.

Do you still have:

VA Options -> Performance -> Parse all files when opening a project

enabled?

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

Uniwares
Tomato Guru

Portugal
2320 Posts

Posted - Apr 25 2020 :  08:04:19 AM  Show Profile  Reply with Quote
Mostly i have 2 instances of VS open, one with this solution the other with an VB solution. Redesigning the VB. So it's only for reference.
The source control is 95% my machine only. Change happens exclusively on mine.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18749 Posts

Posted - Apr 27 2020 :  05:43:10 AM  Show Profile  Reply with Quote
So much for that theory. Something must be driving these problems, we just need to try and find a clue as to what. I am not giving up on this!

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

Uniwares
Tomato Guru

Portugal
2320 Posts

Posted - Apr 27 2020 :  05:55:19 AM  Show Profile  Reply with Quote
Neither do I. Keeping an close eye.
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2320 Posts

Posted - Apr 28 2020 :  1:11:14 PM  Show Profile  Reply with Quote
Just got another one of the same problem:



Also, no use ever of the refered assembly.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18749 Posts

Posted - Apr 29 2020 :  12:01:35 PM  Show Profile  Reply with Quote
I have a working theory for the ImageSharp class problem, and suspect it applies here as well. Do you open a second solution that has a reference to Microsoft.ReportingServices in the:

Solution Explorer -> [Solution Name] -> Dependencies -> Packages

tree? I have tracked the problem with ImageSharp down to this, and it looks like it is corrupting our database, which would explain several of the problems you are seeing. If so, this is coming from

case=142203

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

Uniwares
Tomato Guru

Portugal
2320 Posts

Posted - Apr 29 2020 :  12:16:30 PM  Show Profile  Reply with Quote
Actually, it might be. I have occasionally an old VB project open in another instance which does indeed reference both the MySql and the ReportViewer assemblies.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18749 Posts

Posted - Apr 29 2020 :  12:58:54 PM  Show Profile  Reply with Quote
Could be the same problem then. Hopefully a fix for this will fix several of the problems you have been encountering.

zen is the art of being at one with the two'ness
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