This is a migrated thread and some comments may be shown as answers.

Unknown entity 'Forms' of names 'Windows'

8 Answers 90 Views
Code Analysis
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Al
Top achievements
Rank 1
Al asked on 29 Apr 2014, 03:15 PM
This non-error error is drag because although I can write (and successfully compile) my code using
Windows.Forms.DialogResult.Yes
OR
DialogResult.Yes

JustCode doesn't like Windows.Forms.DialogResult.Yes and the Windows.Forms.DialogResult prefix is what is auto-populated using intellisense


For now, I simply highlighted the error in the JustCode error container and said 'Ignore Error', but I'm curious as to why it would give what is seemingly a false negative?

8 Answers, 1 is accepted

Sort by
0
Nikolay Valchev
Telerik team
answered on 02 May 2014, 07:52 AM
Hi,

Thank you for the feedback!
I assume the language for which this false error is shown is VB, isn't it?
Could you give us some more information, such as what versions of Visual Studio, Windows and JustCode you are using? This will help us in making a further investigation and finding the root of the problem.

We really appreciate your help!

Regards,
Nikolay Valchev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Al
Top achievements
Rank 1
Iron
answered on 02 May 2014, 12:06 PM
VB
Visual Studio 2012
Windows 8.1
Latest version of JustCode (purchased March 2014 and have been doing all updates)
(I can't quote the exact version because believe it or not that PC just suffered the blues screen of death)
0
Nikolay Valchev
Telerik team
answered on 07 May 2014, 06:21 AM
Hello Al,

Thank you for the collaboration, we will investigate this issue!
If you have any further questions, please do not hesitate to contact us.

Regards,
Nikolay Valchev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Len
Top achievements
Rank 1
answered on 13 Oct 2014, 09:06 PM
I am having the same issue as well.  Is there any solution to this?  I know we can just ignore the error, but I'm thinking that will also cause every real issue like this to be ignored...
0
Al
Top achievements
Rank 1
answered on 14 Oct 2014, 10:55 AM
I haven't heard of  any fix - I just keep deleting the prefix dropped in by intellisense
0
Nikolay Valchev
Telerik team
answered on 16 Oct 2014, 03:18 PM
Hello,

Excuse us for the caused inconvenience!
The good news is that we've found what is causing this Good-Code-Red - there is a namespace Windows.Foundation.Diagnostics in mscorlib targeting .NET4.5(.1), so when JustCode is analyzing the whole type name "Windows.Forms...", JustCode's analyzer is picking the mentioned namespace first since its fully qualified name starts with 'Windows' rather than 'System' and therefore it can not resolve the correct type.
The bad news is that the fix will be time and resources consuming because there is a big infrastructure that is dealing with the namespace/type/member resolution, so each change might result in generating new false errors. 
I will raise the priority of this bug, so you can expect it in some future release.
Stay tuned!

Regards,
Nikolay Valchev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Steven
Top achievements
Rank 1
answered on 12 Mar 2015, 07:57 AM
Hi, 

We are now 5 months on.  Is there any update on the progress of this as I have the latest version installed and I'm still getting the same issue.

0
Svetlozar
Telerik team
answered on 16 Mar 2015, 05:08 PM
Hello,

I am really sorry for the inconvenience!

We have been quite busy working on the new version of JustCode and we didn't have the time to address these issues. We are aware that these false positives are one of the major issues for our clients and they will be gone in the new version as we will rely on Roslyn for C# and Visual Basic. In fact, we already released an early preview with Q1 2015 . Have in mind that thew new JustCode works only for Visual Studio 2015. An new internal build is coming the next few days, so please, stay tuned!

Regards,
Svetlozar
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Code Analysis
Asked by
Al
Top achievements
Rank 1
Answers by
Nikolay Valchev
Telerik team
Al
Top achievements
Rank 1
Iron
Len
Top achievements
Rank 1
Al
Top achievements
Rank 1
Steven
Top achievements
Rank 1
Svetlozar
Telerik team
Share this question
or