VS2005: Some more November CTP changes

Here are some more changes upcoming for the November CTP that I found loading up a project from the October CTP bits:

retyping for Google, etc

System.Transactions.TransactionScope.Consistent is being replaced by Transaction.Scope.Complete

LoadOption.UpdateCurrentValues (used with DataSet/DataTable.Load(dbDataReader)) is changing to the very strange LoadOption.Upsert. Additionally, LoadOption.OverwriteRow is replaced by OverwriteChanges and PreserveCurrentValues is replaced by PreserveChanges.

Lastly, System.Windows.Forms.AutoScaleBaseSize is deprecated. This was automatically created by the Windows form designer as you began dropping controls onto the design surface.

eg:   Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)

Now, I see these two lines being created instead:

 Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
 Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font

All of this stuff will get helpfully pointed out by VS2005.

Posted from BLInk!

  Sign up for my newsletter so you don't miss my conference & Pluralsight course announcements!  

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.