Wednesday, April 25, 2012

Obsoleted Types, Methods and Migration Guide and more for .Net 4.5 (Beta)

Obsolete Types in the .NET Framework 4.5 Beta

"The following sections list the types that have been declared obsolete in the .NET Framework 4.5 Beta. Obsolete types are organized based on the assemblies in which they are found. The tables are organized as follows:

  • Obsolete Types in System Assemblies

    • mscorlib.dll

    • System.Core.dll

    • System.Data.dll

    • System.Data.OracleClient.dll

    • System.Design.dll

    • System.dll

    • System.EnterpriseServices.dll

    • System.Net.dll

    • System.ServiceModel.dll

    • System.Web.dll

    • System.Web.Mobile.dll

    • System.Xaml.dll

    • System.Xml.dll

    • WindowsBase.dll

  • Obsolete Types in Microsoft Assemblies

    • IEHost.dll and IEExec.exe

    • Microsoft.Build.Engine.dll

    • Microsoft.JScript.dll

    • Microsoft.VisualBasic.Compatibility.dll

    • Microsoft.VisualBasic.Compatibility.Data.dll

    • Microsoft.VisualC.dll

..."

Obsolete Members in the .NET Framework 4.5 Beta

"The following tables list the type members that have been declared obsolete in the .NET Framework 4.5 Beta, based on the assembly in which they are found. The tables are organized as follows:

  • Obsolete Members in System Assemblies

    • mscorlib.dll

    • PresentationCore.dll

    • PresentationFramework.dll

    • System.Activities.dll

    • System.Activities.Presentation.dll

    • System.Core.dll

    • System.Data.dll

    • System.Data.Entity.dll

    • System.Data.OracleClient.dll

    • System.Design.dll

    • System.dll

    • System.Drawing.dll

    • System.Messaging.dll

    • System.ServiceModel.dll

    • System.ServiceModel.Discovery.dll

    • System.Web.DataVisualization.dll

    • System.Web.dll

    • System.Web.DynamicData.dll

    • System.Web.Extensions.dll

    • System.Web.Services.dll

    • System.Windows.Forms.dll

    • System.Xaml.dll

    • System.Xml.dll

  • Obsolete Members in Microsoft Assemblies

    • IEHost.dll and IEExec.exe

    • ISymWrapper.dll

    • Microsoft.Build.Conversion.v4.0.dll

    • Microsoft.Build.Engine.dll

    • Microsoft.Build.Framework.dll

    • Microsoft.Build.Utilities.v4.0.dll

    • Microsoft.VisualBasic.dll

..."

Migration Guide to the .NET Framework 4.5 Beta

If you created your application using an earlier version of the .NET Framework, you can generally upgrade it to the .NET Framework 4.5 Beta easily. Open your project in Visual Studio 11 Beta. If your project was created in an earlier version, the Project Compatibility dialog box automatically opens. For more information about upgrading a project, see How to: Troubleshoot Unsuccessful Visual Studio Project Upgrades.

However, some changes in the .NET Framework require changes to your code. You may also want to take advantage of functionality that is new in the .NET Framework 4.5 Beta. Making these types of changes to your application for a new version of the .NET Framework is typically referred to as migration. If your application does not have to be migrated, you can run it in the .NET Framework 4.5 Beta without recompiling it.

Migration Resources

Review the following documents before you migrate your application from the .NET Framework 4 to the .NET Framework 4.5 Beta:

NET Framework Versions and Dependencies

Each version of the .NET Framework contains the common language runtime (CLR) as its core component, and includes additional components such as the base class libraries and other managed libraries. This topic describes the key components of the .NET Framework by version, provides information about the underlying CLR versions and associated development environments, and identifies the versions that are installed by the Windows operating system.

The following illustration summarizes the version history and identifies the versions that are installed by Windows.

image

Each new version of the .NET Framework retains features from the previous versions and adds new features. The CLR is identified by its own version number. Some versions of the .NET Framework include a new version of the CLR, but others use an earlier version. For example, the .NET Framework 4 includes CLR 4, but the .NET Framework 3.5 includes CLR 2.0. (There was no version 3 of the CLR.) Although the .NET Framework 4.5 Beta is an in-place update of .NET Framework 4, the underlying CLR version number is 4.5.

There's a serious list of stuff being deprecated and obsoleted in .Net 4.5. So long that the page snapshot was too long to include here (we're talking 48 pages for the Methods, 36 for the Types... Now THAT's a list!)

(via Wriju's BLOG - Obsolete Types and Methods of .NET Framework 4.5)

2 comments:

Anonymous said...

Copying and pasting from an msdn article, and not even including the links, doesn't really make for a good blog post.

Especially when the copied articles rely on the links to make sense.

Greg said...

This blog is mostly about curatoring. Finding cool or interesting stuff and highlighting it, providing enough of the original content to let my readers get a feel for it, to see if they also find it cool or interesting, without leaching all the original content. Driving traffic to the original sites.

So your comment meant I'm fulling my intent. You found it, read enough and felt you needed to click through for the rest...

Anyway, agree or disagree with my intent, thanks for taking the time to comment.