Class Library Build Problems

Last post 11-09-2005 8:03 PM by BradleyB. 5 replies.

Sort Posts:

  • Class Library Build Problems

    11-09-2005, 9:25 AM
    • Loading...
    • slynch
    • Joined on 09-03-2002, 4:18 PM
    • Michigan
    • Posts 71

    Every time I build one of the class libraries that are in the same solution as the website project, there is about a 30s-1minute delay after Visual Studio says that the build was successfull on the status bar.

    During this time, the IDE becomes unresponsive, and the document tab bar stops displaying the name of the documents, and shows as grey.

    I am  hoping that someone else has had this problem, and knows a solution or work around for it.

    Thanks,
    Sean

    Sean Lynch - Blog
  • Re: Class Library Build Problems

    11-09-2005, 2:53 PM
    • Loading...
    • BradleyB
    • Joined on 11-06-2002, 10:53 AM
    • Posts 225
    There have been some build performance problems associated with  auto-refresh assemblies in the bin.  If you have assemblies in the bin with .refresh files then they are auto-refresh.  Do you have any of thes files in the bin?

    If there are no changes in the Class Libraries does this still happen?


     

  • Re: Class Library Build Problems

    11-09-2005, 4:13 PM
    • Loading...
    • slynch
    • Joined on 09-03-2002, 4:18 PM
    • Michigan
    • Posts 71
    I checked, and I dont have any .refresh files in the bin directory.

    I have seen a few other posts about this, non of them have gotten a reply that I have noticed. And atleast one of them think it might be related to precompiling the code.

    This is only occuring on a single machine (though the build processes is slower on all machines) it is a 1.7Ghz dual processor dell with 1GB of memory.
    Sean Lynch - Blog
  • Re: Class Library Build Problems

    11-09-2005, 5:12 PM
    • Loading...
    • slynch
    • Joined on 09-03-2002, 4:18 PM
    • Michigan
    • Posts 71

    The hang up problem ended up being that I had AutoToolboxPopulate on in the Windows Forms Designer options. It seems that every time I rebuild, even if there were no changes to that assembly it would completely refresh the items in the toolbar. When I turned this option off (which I will really miss), the problem went away.

    Its to bad the IDE isnt smart enough to check over the ToolboxData attribute of the classes vs sometype of manifest to tell if it needs to refresh, and only do it when it needs too. I turned on FileMon and for about 1.5 minutes it continually reran the same file queries.

    Sean Lynch - Blog
  • Re: Class Library Build Problems

    11-09-2005, 5:53 PM
    • Loading...
    • BradleyB
    • Joined on 11-06-2002, 10:53 AM
    • Posts 225
    Can you check one more thing?  Do you have lots of pages opened in the IDE when this happens?
  • Re: Class Library Build Problems

    11-09-2005, 8:03 PM
    • Loading...
    • BradleyB
    • Joined on 11-06-2002, 10:53 AM
    • Posts 225

    Thanks for tracking this down, it's good to know.

Page 1 of 1 (6 items)