Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / March 2007

Tip: Looking for answers? Try searching our database.

Preparing file for refactoring

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dale - 05 Mar 2007 20:48 GMT
I have never had this problem before, even on the project I am working with
currently, but suddenly today, every time I do any refactoring or even find
all references, I get a window that says something about preparing files for
refactoring.  This window cycles through every file in the solution - even if
I am just refactoring or searching for a private member in a single class.

I found a newsgroup thread about bug similar to this from 2005 - a bug that
supposedly was not going to be fixed for RTM, but I cannot find any solution.
Like I said, I have not had the problem with this project, or any other
project, until today.

Any solutions would be greatly appreciated.  This makes find all references
or refactoring totally useless.

Dale
Signature

Dale Preston
MCAD C#
MCSE, MCDBA

WenYuan Wang - 06 Mar 2007 12:40 GMT
Hi Dale,

According to your description, I understand each time you do a refactoring,
you will get a windows cycles through every file in the solution. Please
don't hesitate to correct me if I have misunderstood anything here.

In order to narrow down the issue, would you please clarify something for
us?
1.    Have you installed any add-in or 3rd party applications these days?
2.    Have you installed Visual Studio 2005 SP1? If not, we suggest you may
install this server pack. You can get it from
http://www.microsoft.com/downloads/details.aspx?familyid=BB4A75AB-E2D4-4C96-
B39D-37BAF6B5B1DC&displaylang=en
3.    Will this issue occur if you create a new project? (If not, this means
this issue is only related to your special project.)

>I found a newsgroup thread about bug similar to this from 2005 - a bug
that supposedly was not going to be fixed for RTM,
Additionally, would you please provide this thread Subject for us. This
will help on research very much. Many thanks.

If you have any more concerns on it, please feel free to let me know. We
are glad to assist you.

Have a great day.
Sincerely,
Wen Yuan
Dale - 06 Mar 2007 18:31 GMT
> Hi Dale,
>
[quoted text clipped - 5 lines]
> us?
> 1.    Have you installed any add-in or 3rd party applications these days?

Not any time recently.  The last add-ins I installed were both over a month
ago:  The Web Application Projects add-in and the Extensibility SDK with the
sample add-ins included there.  This problem did not occur during the first
month or so after installing those add-ins.

> 2.    Have you installed Visual Studio 2005 SP1? If not, we suggest you may
> install this server pack. You can get it from
> http://www.microsoft.com/downloads/details.aspx?familyid=BB4A75AB-E2D4-4C96-
> B39D-37BAF6B5B1DC&displaylang=en

I will try SP1 after testing the third question you asked below.  Up to now
I have not had the spare half of a day to install it.  

> 3.    Will this issue occur if you create a new project? (If not, this means
> this issue is only related to your special project.)

It appears only to happen in all 4 projects in this one solution.  I created
a new solution with one project and copied over a bunch of classes from one
of the problematic projects.  In the new solution the problem does not appear.

I also noticed in my testing that, in the problematic solution, Find all
references is lightning quick on internal framework searches.  For instance
if I have a custom collection and a property called MyCount that returns the
IList.Count property, doing a Find all references on MyCount property takes
minutes.  Finding all references on the IList.Count property referenced in
MyCounts getter is under a second - even when it searches all my collection
class files for every instance of IList.Count.

> >I found a newsgroup thread about bug similar to this from 2005 - a bug
> that supposedly was not going to be fixed for RTM,
> Additionally, would you please provide this thread Subject for us. This
> will help on research very much. Many thanks.

The subject of the thread is "Find All References is too slow".  It is in
group microsoft.private.msdn.productfeedback.vb but when I try to open that
group by clicking the link in the search results of the web based reader it
says the group is not found.  

I found the thread by searching in "MSDN Managed Newsgroups" for:

    preparing file for refactoring
Dale - 06 Mar 2007 21:51 GMT
WenYuan,

Installing SP1 seems to have fixed the issue.  Now the searches are
lightning fast again.

Thanks for your help.

Dale
Signature

Dale Preston
MCAD C#
MCSE, MCDBA

> Hi Dale,
>
[quoted text clipped - 23 lines]
> Sincerely,
> Wen Yuan
WenYuan Wang - 07 Mar 2007 06:24 GMT
Thanks for your reply, Dale.
Apparentlly, it seem like this issue has been addressed in SP1.

Have a great day.
Sincerely,
Wen Yuan

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.