Author |
Topic |
|
pogothemonkey
Senior Member
31 Posts |
Posted - Aug 08 2006 : 10:20:24 AM
|
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
|
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 |
|
|
pogothemonkey
Senior Member
31 Posts |
Posted - Aug 09 2006 : 09:42:17 AM
|
I tried that but the problem keeps reappearing |
|
|
feline
Whole Tomato Software
United Kingdom
18998 Posts |
Posted - Aug 09 2006 : 9:20:00 PM
|
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 |
|
|
daniel.hampe
Junior Member
Germany
21 Posts |
Posted - Aug 10 2006 : 02:48:23 AM
|
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 |
|
|
pogothemonkey
Senior Member
31 Posts |
Posted - Aug 10 2006 : 09:40:49 AM
|
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 |
|
|
feline
Whole Tomato Software
United Kingdom
18998 Posts |
Posted - Aug 12 2006 : 5:12:00 PM
|
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 |
|
|
|
Topic |
|