Manager Template hanging vs.net

Posts   
 
    
erichar11
User
Posts: 268
Joined: 08-Dec-2003
# Posted on: 12-Apr-2005 04:53:37   

Ok, so I've been using the manager templates created by cmartinbot and others with good success. But for some reason I have a specific method within a manager class that causes the ide to hang when intellesense is activiated, and it's driving me nuts as I have to restart vs.net. No other method in the class has this problem.

I do the following MilestoneTemplateManager.FetchWithMilestoneActivity(

and intellesnse just freezes. I don't think it's a problem with the templates per se because I can go to notepad, type in the "MilestoneTemplatemanager.FetchWithMilestoneActivity(1)" and paste it into the editor and it works fine. It's just that intellesense just seems to be bugging. Anyone have any suggestions. rage

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39788
Joined: 17-Aug-2003
# Posted on: 12-Apr-2005 09:21:28   

If VB.NET, you could opt to disable background compilation. VB.NET tries to produce the intellisense tree on the fly, C# does that in threads. THe VB.NET approach causes delays.

Frans Bouma | Lead developer LLBLGen Pro
erichar11
User
Posts: 268
Joined: 08-Dec-2003
# Posted on: 12-Apr-2005 17:23:09   

Thanks, I'm using c# so no ability to disable background compilation of intellesense. I've tried to regenerate the project via llblgen and using the manager templates but no joy. Do you perhaps know of anyway to have vs.net rebuild the intellesense for a project? Are there any folders or such that I can delete which would cause a complete rebuild of intellesense?

Thanks

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39788
Joined: 17-Aug-2003
# Posted on: 13-Apr-2005 09:34:47   

erichar11 wrote:

Thanks, I'm using c# so no ability to disable background compilation of intellesense. I've tried to regenerate the project via llblgen and using the manager templates but no joy. Do you perhaps know of anyway to have vs.net rebuild the intellesense for a project? Are there any folders or such that I can delete which would cause a complete rebuild of intellesense? Thanks

No, intellisense is build up at runtime, so no folders to delete. Does vs.net hang and not respond, or do you just lose intellisense? Because losing intellisense sometimes happens.

Please check this blog entry for more info how C# builds intellisense: http://blogs.msdn.com/cyrusn/archive/2005/04/10/406969.aspx

Frans Bouma | Lead developer LLBLGen Pro
erichar11
User
Posts: 268
Joined: 08-Dec-2003
# Posted on: 14-Apr-2005 20:22:56   

vs.net hangs and does not respond causing me to shut down vs.net.

By the way, thanks for the article, interesting.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39788
Joined: 17-Aug-2003
# Posted on: 14-Apr-2005 21:58:28   

erichar11 wrote:

vs.net hangs and does not respond causing me to shut down vs.net.

Hmmmzz... I never experienced that (only crashes of vs.net wink ). I don't think I know the answer to that...

Frans Bouma | Lead developer LLBLGen Pro
lyndon_h
User
Posts: 79
Joined: 14-Sep-2004
# Posted on: 22-Apr-2005 23:19:43   

Make sure you dont have ZoneAlarm 5.x running as it doesn't play nice with vs.net