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
 1531: Wrongly underlined Symbols
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

pogothemonkey
Senior Member

31 Posts

Posted - Aug 08 2006 :  10:20:24 AM  Show Profile  Reply with Quote
I am using VS 2003 and C++ with managed code and I am getting a lot of symbols that are underlined as being incorrect e.g. in the statement


using System::Windows::Forms; 


System, Windows, Forms are underlined. These are also underlined when defining variables also the functions performed on these variables are underlined.

I have cleared and rebuilt the db twice

daniel.hampe
Junior Member

Germany
21 Posts

Posted - Aug 08 2006 :  4:27:22 PM  Show Profile  Reply with Quote
I have had the same thing here (C++/CLI)

It seemed that every Symbol of an Assembly in GAC was underlined in red.
Namespaces, classes, ...

That helped for me:
I closed the soultion and deleted the solutions ncb-file. After re-opening the solution, any red underlines has been gone. :-)

Regards Daniel
Go to Top of Page

pogothemonkey
Senior Member

31 Posts

Posted - Aug 09 2006 :  09:42:17 AM  Show Profile  Reply with Quote
I tried that but the problem keeps reappearing
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18998 Posts

Posted - Aug 09 2006 :  9:20:00 PM  Show Profile  Reply with Quote
i have just added this line to a managed C++ console application in VS2003 with VA 1531 and there is no underlining. for me "System", "Windows" and "Forms" are all shown in italic.

if you turn on VA's option to show stable symbols in italic are these shown in italic for you?

do you see this effect in a new, test project, or only in your main project?

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

daniel.hampe
Junior Member

Germany
21 Posts

Posted - Aug 10 2006 :  02:48:23 AM  Show Profile  Reply with Quote
When I cleared and rebuilt the VAX db, any symbol of GAC assemblies was underlined again. I use a custom color for classes and structures, and every class/structure which was wrongly underlined was shown in my custom color.

I tried to solve that by deleting the solutions ncb-file, after restart of solution no GAC assembly - symbol was underlined anymore.

But maybe the cause why symbols are underlined is an other cause for me, than it is for pogothemonkey. When red underlines occur for me, variables and members are not underlined (for pogothemonkey variables and members are underlined) ...

Regards Daniel
Go to Top of Page

pogothemonkey
Senior Member

31 Posts

Posted - Aug 10 2006 :  09:40:49 AM  Show Profile  Reply with Quote
It's weird, I saw it appear and disappear on restarting Visual studio yesterday, I turned on the italic marker today and if it occurs again I will make a screenshot.

Turning on italics did cause the all the namespace names to show up in italic
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18998 Posts

Posted - Aug 12 2006 :  5:12:00 PM  Show Profile  Reply with Quote
Daniel are you able to reproduce this effect in a new, default project? if you just make one, accepting all of the defaults for speed, what happens?

this could be a project specific problem, or something to do with your system and its settings. hopefully this will give us a clue.

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