Updated: 8/12/2003; 11:00:28 AM.
John Bristowe's Weblog
public class JohnBristowe : Plumber, ITookTheRedPill { ... }
        

Friday, November 15, 2002

http://news.com.com/2100-1017-965921.html

"When you go from 97 to one database," Ellison said. "It can't ever break."

*SIGH* When will people learn?


10:57:51 AM    comment []

Recently, I wrote some NAnt build files for a project. The purpose of this task was to improve our build time and increase overall productivity. Also, I wanted to incorporate unit testing into our development process through NUnit.

Yesterday, a colleague of mine noticed some odd behavior in his application that appeared after referencing the DLLs built using NAnt. Previously, he had been using project references in his solution.

While debugging, I noticed that the TypeDescriptor.GetProperties method was returning a different PropertyDescriptorCollection than what was expected. Upon further investigation, I discovered that this behavior was dependent upon the way in which the DLLs were referenced in the VS.NET project. When the project was compiled using project referencesTypeDescriptor.GetProperties returned - what is now believed to be - an unexpected result. When the project was compiled using file referencesTypeDescriptor.GetProperties returned - what is now believed to be - the expected result.

Needless to say, my colleagues and I found this behavior rather alarming. Why should VS.NET treat project references and file references differently?

FWIW, this morning I received an e-mail from a colleague who informed me that the problem appears to have been fixed with Everett. I haven't had time to confirm this but I hope he's right.


7:24:02 AM    comment []

© Copyright 2003 John Bristowe.
 
November 2002
Sun Mon Tue Wed Thu Fri Sat
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
Sep   Dec


Click here to visit the Radio UserLand website.

Subscribe to "John Bristowe's Weblog" in Radio UserLand.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.