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

VS2010 bug with Imports?

5 Answers 55 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jochem Bökkers
Top achievements
Rank 2
Jochem Bökkers asked on 18 Jun 2010, 08:52 AM
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.

5 Answers, 1 is accepted

Sort by
0
Hans Kratz
Telerik team
answered on 25 Jun 2010, 08:11 AM
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
0
Jochem Bökkers
Top achievements
Rank 2
answered on 25 Jun 2010, 08:24 AM
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.

0
Hans Kratz
Telerik team
answered on 25 Jun 2010, 02:10 PM
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
0
Jochem Bökkers
Top achievements
Rank 2
answered on 06 Jul 2010, 08:33 AM
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...
0
Hans Kratz
Telerik team
answered on 12 Jul 2010, 05:45 AM
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
Tags
General Discussions
Asked by
Jochem Bökkers
Top achievements
Rank 2
Answers by
Hans Kratz
Telerik team
Jochem Bökkers
Top achievements
Rank 2
Share this question
or