VS2010 bug with Imports?

6 posts, 0 answers
  1. Jochem Bökkers
    Jochem Bökkers avatar
    11 posts
    Member since:
    Aug 2007

    Posted 18 Jun 2010 Link to this post

    I'm wondering if someone else is experiencing the same problem with VisualStudio 10. On several occasions when opening a website's .aspx.vb file it doesn't recognize the 'Imports System.Data'.

    Not only does it not recognize it, but VisualStudio neither, and as a result everything coming from System.Data. So far the only workable solution has been closing VisualStudio 2010 and restarting it again.

    It has happened about 10-15 times now since we've switched our production environment to VisualStudio 2010 14 days ago and with several colleagues. Not sure if it's entirely JustCode that's caused the problem but so far our front end developers who haven't got JustCode installed don't seem to have this problem.

    Thanks in advance,
    Jochem.
  2. Hans Kratz
    Admin
    Hans Kratz avatar
    102 posts

    Posted 25 Jun 2010 Link to this post

    Hi Jochem,

    thanks for the feedback.

    When you say that Visual Studio does not recognize it either, how does this manifest itself? 

    Kind 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
  3. DevCraft banner
  4. Jochem Bökkers
    Jochem Bökkers avatar
    11 posts
    Member since:
    Aug 2007

    Posted 25 Jun 2010 Link to this post

    Hi Hans,

    Although we have 'Imports System.Data', the effect is similar as when you don't reference it.
    Everything inside the .vb file which needs system.data is not recognized.

    For instance a connection or a datareader isn't recognized and you get a tooltip on when you hover with 'VisualBasic.Net: Unknown entity 'iDataReader'.

    I know it's not much information to go on sorry. If you want to set up some monitor/logging software or something just give me a shout.

  5. Hans Kratz
    Admin
    Hans Kratz avatar
    102 posts

    Posted 25 Jun 2010 Link to this post

    Hi Jochem,

    hmm, that tooltip is presented by JustCode. Does the problem go away if you choose JustCode | Refresh Code Analysis?

    All the best,
    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
  6. Jochem Bökkers
    Jochem Bökkers avatar
    11 posts
    Member since:
    Aug 2007

    Posted 06 Jul 2010 Link to this post

    Hi Hans,

    Unfortunately it doesn't. We've tried to reset visualstudio with the following options:

    In the DEVENV.EXE.CONFIG we've added the following line in the system.net section:
    <defaultProxyenabled="false" />

    The file can be found in C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE.

    After that we've tried to reset VS2010 with the following options:

    Devenv.exe /SafeMode

    Devenv.exe /ResetSkipPkgs

    Devenv.exe /ResetSettings 


    Since that we've not experienced the problems no more and we've sped up loading time of solutions...
  7. Hans Kratz
    Admin
    Hans Kratz avatar
    102 posts

    Posted 12 Jul 2010 Link to this post

    Hello Jochem,

    strange, we have never heard of such a problem so far. Resetting Visual Studio like this completely eliminated the problems and JustCode continues to be fully intact?

    Best wishes,
    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
Back to Top
DevCraft banner