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

ORM & JC

2 Answers 21 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.
Stuart Hemming
Top achievements
Rank 2
Stuart Hemming asked on 15 Jun 2010, 01:11 AM
I've just started trying to use ORM and have a model project and a website project (not a web application project). When I enable the website project for ORM and select the DAL checkbox an class file called ObjectScopeProvider.cs is added to the App_Code folder.

This file has 38 JC reported errors in. Now, I believe that this is a JC issue 'cos the solution compiles OK.

I wondered if the problem was something to do with the fact that my web app is a website rather than a webapplication.

-- 
Stuart : So much to learn, so little brain.

2 Answers, 1 is accepted

Sort by
0
Accepted
Hans Kratz
Telerik team
answered on 16 Jun 2010, 02:12 PM
Hello Stuart,

Does this problem persist if you close and open the solution again? Sometimes JustCode does not pick up on changes to website references, etc.

Regards,
Hans Kratz
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Stuart Hemming
Top achievements
Rank 2
answered on 16 Jun 2010, 02:16 PM
As you suggested, closing the solution and reopening it sorted it out.

Some of the errors that JC was reporting were v. odd.

One of them was with the using statements...

using Telerik.OpenAccess;
using Telerik.OpenAccess.Util;

It didn't like the .Util of the 2nd one at all.

-- 
Stuart
Tags
Code Analysis
Asked by
Stuart Hemming
Top achievements
Rank 2
Answers by
Hans Kratz
Telerik team
Stuart Hemming
Top achievements
Rank 2
Share this question
or