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

Project Level Imports

10 Answers 116 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.
Richardsonke
Top achievements
Rank 1
Richardsonke asked on 18 Nov 2009, 04:00 PM
JustCode seems to be ignoring my project-level imports.  After installing JustCode and opening a project (an ASP.NET Web Application in vb.net), i have 770 errors, most of them being "Unknown Entity" or "Unknown Type."  The project builds and runs fine, so I'm not really missing any imports.  An example this code:

Private _dsLinks As DataSet 


has an error (red underline on DataSet) that says:

VisualBasic.Net: Unknown entity 'DataSet' RSS.ascx.vb WebApp 36 25

DataSet is part of System.Data, which is not imported in the individual page, but IS imported at the project level.

-Keith

10 Answers, 1 is accepted

Sort by
0
Deyan Varchev
Telerik team
answered on 18 Nov 2009, 04:34 PM
Hello Richardsonke,

Thanks for reporting this issue. Can you try refreshing the code analysis (From the "Just Code" menu select "Refresh Code Analysis") after you solution loads. If this doesn't solve the problem please write back and we'll try to investigate further.

Kind regards,
Deyan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Richardsonke
Top achievements
Rank 1
answered on 18 Nov 2009, 04:35 PM
Yep, tried that.  They all disappear and then start coming back 10 seconds later as it runs the analysis.

-Keith
0
Hans Kratz
Telerik team
answered on 18 Nov 2009, 05:39 PM
Hi!

We have found an issue in our code related to handling project-level imports in VB Web Applications. Just to confirm: You set the project-level imports in "My Project" but not in web.config?

Kind regards,
Hans
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Richardsonke
Top achievements
Rank 1
answered on 18 Nov 2009, 05:41 PM
That's correct.  Any chance this'll be fixed for a nightly build?  Thanks.

-Keith
0
Hans Kratz
Telerik team
answered on 18 Nov 2009, 08:39 PM
We have scheduled this issue to be fixed to the next build (to be released on the 27th of November).

Once this issue is fixed in an internal build before then I will let you know.

Thanks again for your feedback!

Kind regards,
Hans
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Adam L. Ooten
Top achievements
Rank 2
answered on 18 Nov 2009, 10:11 PM
Same problem here.  Just wanted to throw in my vote for fixing the project level imports issue.  Am I still looking at a Nov 27 fix date?  Can't really use the tool until that is fixed :(
0
Hans Kratz
Telerik team
answered on 19 Nov 2009, 09:08 AM
Hi Adam!

Just making sure that you are experiencing the very same problem and not a different one. Do you also have a web application with a web.config file where the imports defined in "My Project" are not picked up in the code-behind VB files?


Regards,
Hans
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Adam L. Ooten
Top achievements
Rank 2
answered on 19 Nov 2009, 02:42 PM
Yes that is exactly the case for me.

Also, will this fix come down in the update function that is hooked into Visual Studio with JustCode>Check for Updates?  Or will I have to check the site and download the patch?
0
Hans Kratz
Telerik team
answered on 20 Nov 2009, 04:12 PM
Hi Richard! Hi Adam!

I just wanted to let you know that a new internal build is available which fixes this issue. You should be able to get it from the latest JustCode internal builds section.

This internal build is not an "official" beta build so you will not be able to get it via JustCode > Check For Updates.

Thanks for your feedback and let us know if you encounter further problems.

Regards,
Hans
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Richardsonke
Top achievements
Rank 1
answered on 20 Nov 2009, 07:35 PM
Thanks for the quick fix!  Response times like this is one of the reasons why I love Telerik so much.  Thanks!

-Keith
Tags
Code Analysis
Asked by
Richardsonke
Top achievements
Rank 1
Answers by
Deyan Varchev
Telerik team
Richardsonke
Top achievements
Rank 1
Hans Kratz
Telerik team
Adam L. Ooten
Top achievements
Rank 2
Share this question
or