Hmm ... General Stuff

8 posts, 0 answers
  1. James Green
    James Green avatar
    4 posts
    Member since:
    Jul 2010

    Posted 06 Sep 2010 Link to this post

    I've just installed JustCode, I've gotten rid of one of the initial problems and now my (fully working) solution is producing over 80 errors ...

    "The type string is defined in an assembly that is not referenced"
    "The type int is defined in an assembly that is not referenced"
    "The type bool is defined in an assembly that is not referenced"

    These 'problems' are in ASP.NET pages and controls which I have told JustCode not to analyse ... so far I'm really NOT liking JustCode ...

    How do I 'fix' these non-problems? And actually get JustCode to start helping rather than being a hinderence?

    Thanks in advance,

    James.
  2. Tsviatko Yovtchev
    Admin
    Tsviatko Yovtchev avatar
    409 posts

    Posted 10 Sep 2010 Link to this post

    Hi James,

     Sorry to hear about your trouble. That's not how JustCode normally behaves. As a matter of fact that is probably the first time we hear about such a problem. 

    We'll need some more information to be able to help you. First, I am not quite sure I fully understand your setup. You excluded some files from analysis and you are still getting errors in them. Is that right? 

    We are really after fixing issues like these. Rather unfortunately, I could not reproduce it locally. So you must be doing something different than what I do. Could you send over a small sample project that demonstrates this behavior? If that's not possible a couple of screenshots of your JustCode exclude file filter and the error window entries would be of some help, too.

    Once again, sorry about your trouble. We'd definitely like to fix any issue you might have encountered.

    Kind regards,
    Tsviatko Yovtchev
    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
  3. DevCraft banner
  4. Seth Morecraft
    Seth Morecraft avatar
    7 posts
    Member since:
    Mar 2010

    Posted 24 Sep 2010 Link to this post

    Hi Tsviatko,
      I have seen a similar issue the first time today actually.  I have been using JustCode under VS2010 for a while now and it has been running fine.  Now today I opened up a solution and I am getting the exact errors that James has below.  Let me explain the differences to see if it helps at all:

    - Using .NET 3.5 MVC2 projects, I get no problems, ever.

    - Todays project was a .NET 4.0 MVC2 project and now I have over 1000 errors such as:
    The type string is defined in an assembly that is not referenced
    string, object, long, bool, int (you get the idea, all primitives)

    So, I tried adding the System namespace to my web.config to try and make it happy, but no such luck.  The errors all come from .aspx files, not actual code files, so I am guessing it is something with the asp.net parse engine in JustCode when using .NET 4.0.  I can't give you this sample example, but I will try and reproduce it with a smaller project and let you know.  Maybe this will help you find the problem- thanks!
    Seth
  5. Tsviatko Yovtchev
    Admin
    Tsviatko Yovtchev avatar
    409 posts

    Posted 27 Sep 2010 Link to this post

    Hello Seth Morecraft,

     Thanks for getting back to us on that issue.

    It'd be really nice if you come up with that sample project. Meanwhile we'd be more than happy to have a look at your project, solution and web.config files. Is that gonna be possible? You could just start a ticket and attach these there so that they are not available to the general public.

    Kind regards,
    Tsviatko Yovtchev
    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
  6. Seth Morecraft
    Seth Morecraft avatar
    7 posts
    Member since:
    Mar 2010

    Posted 28 Sep 2010 Link to this post

    Hi Tsviatko,
      Yes, I cannot seem to reproduce the issue once I strip the project down, so I am not sure what exactly is causing this to happen.  It must be some reference that is causing it and I will keep looking.  I will probably open a ticket with my project so you can see what is going on if it would help.  I'll let you know- thanks!
    Seth
  7. Seth Morecraft
    Seth Morecraft avatar
    7 posts
    Member since:
    Mar 2010

    Posted 28 Sep 2010 Link to this post

    Actually, I just installed the 9/27/10 internal build release and the problems are gone, so something in that fix too care of this is seems.  Thanks!
  8. Eddie
    Eddie avatar
    66 posts
    Member since:
    May 2008

    Posted 22 Oct 2010 Link to this post

    I'm using the current version of JustCode (2010.2.826.2) and I'm getting the same thing in a standard asp.net 4.0 web application.  I get this error ('[object] is defined in an assembly that is not referenced') every time I reference any code behind in an aspx or Master page.  For example, I use this code for my loading panel (which I believe came right out of your sample code):
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Height="75px"
            Width="75px" Visible="false">
            <img alt="Loading..." src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading.gif") %>' style="margin-top:1px;margin-left:-120px;border:0;" />
        </telerik:RadAjaxLoadingPanel>

    JustCode gives me this error, and red-lines the reference "Page":

    "C#: The type 'System.Web.UI.Page' is defined in an assembly that is not referenced."

    I get a lot of those type of errors, and none of them are valid... 

    I don't know that I have time to build a sample solution, I can't upload the web app I'm working on.  It would be nice if it just worked.  I can go back to Resharper is necessary, but I'd prefer to use JustCode if you can work out some of these issues...

    Thanks!
  9. Tsviatko Yovtchev
    Admin
    Tsviatko Yovtchev avatar
    409 posts

    Posted 26 Oct 2010 Link to this post

    Hello Eddie,

     Could you try out the 9/27/10 internal build, too? Or even better the latest internal build. The chances are this problem has already been fixed. 

    We aer also due to release an official version in two weeks so you might check that one out, too if you prefer not to install internal builds.

    Greetings,
    Tsviatko Yovtchev
    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
Back to Top
DevCraft banner