Blog Stats
  • Posts - 62
  • Articles - 1
  • Comments - 40
  • Trackbacks - 63

 

Builds that make my eyes bleed and the assemblies that cause them

Lately, my ASP.NET 2.0 app has been taking so long to build I have been going crazy. I came across this post at ScottGu's blog that had a possible cause for suddenly long build times. I have about 20 projects, but it's hardly a massive site.

I had some problems that I just kind of put up with a while ago where an older version of Iesi.Collections.dll would appear in my /bin folder of my web root and I have been running the NHibernate alpha 9that uses version 1.0.0.2 of Iesi.Collections). Anyways, it didn't occur to me that this was cuasing the problems ScottGu is discussing in his blog. But I couldn't track down WHO was bringing in the wrong assembly. Finally, I remembered that some code was using Ayende's NHibernate.Generics ... AHA! This was built against the older Iesi collections assembly so that was the culprit.

So since I am moving to the new NHibernate that supports generics anyways, I yanked all the references and code out that use the NHibernate.Generics library and my build times got back to normal and my sanity has slowly begun to be restored...


Feedback

# re: Builds that make my eyes bleed and the assemblies that cause them

Gravatar Is that version of NHibernate ready for prime-time? I'd hate to introduce it into my app that is about to be released, but it would be nice to get rid of the extra dependency on Nhibernate.Generics... 9/19/2006 4:58 AM | Ben Scheirman

# re: Builds that make my eyes bleed and the assemblies that cause them

Gravatar I haven't had any issues with it yet and haven't seen anything on the forums but it is only debug right now.
I am not as close to release as you are tho... 9/19/2006 6:50 AM | Mike

# re: Builds that make my eyes bleed and the assemblies that cause them

Gravatar Yeah... I'm supposed to release this app next week.. I don't want to make any drastic changes.

But then again, that is what stuck my first nhib project on 0.72 NHibernate 0.84 introduced breaking changes so I just avoided upgrading. That caused problems in the long run b/c I didn't benefit from performance tweaks & bugfixes. 9/19/2006 6:55 AM | Ben Scheirman

# re: Builds that make my eyes bleed and the assemblies that cause them

Gravatar Well...I suspect you could count on the Alpha release, but if you are making use of the EntityList bidirectional releationship delegates very heavily, then it might cause some refactoring you don't want to deal with. 9/19/2006 8:47 AM | Mike

Post a comment





 

 

 

Copyright © Mike Nichols