Building apps with the .NET Framework 4.5.1 Preview in Visual Studio 2012

Building apps with the .NET Framework 4.5.1 Preview in Visual Studio 2012

Rate This
  • Comments 5

This post describes how to add targeting support for the .NET Framework 4.5.1 in Visual Studio 2012. It was written by Rich Lander, who worked on the original multi-targeting support in Visual Studio 2010.

Here’s the question:

clip_image002

You can. Visual Studio 2013 preview provides built-in support for targeting the .NET Framework 4.5.1 Preview, but you can also build apps that target the .NET Framework 4.5.1 using Visual Studio 2012.

Here’s the short answer:

clip_image003

The .NET Framework 4.5.1 Preview includes the .NET runtime, but doesn’t include the files needed by Visual Studio to build .NET 4.5.1 apps. Instead, there is a separate download that includes all of the reference assemblies, IntelliSense XML files, and anything else needed to provide a great targeting experience in Visual Studio. We call this download a targeting pack.

You can get the targeting pack in these two ways:

  • Either install Visual Studio 2013 Preview on your machine that already includes Visual Studio 2012. You’ll be able to target .NET 4.5.1 from both versions of Visual Studio.
  • Or install the Windows 8.1 Preview SDK, which includes the targeting pack. The next time you open Visual Studio 2012, .NET 4.5.1 will be available from the target framework list.

For future reference, this information is also listed on .NET Framework SDKs and Targeting Packs for Visual Studio 2012. Our Get the latest .NET bits post explains how you can get to the SDK and targeting pack pages, for each version of Visual Studio.

Thanks for all the interest in and feedback on the .NET Framework 4.5.1 Preview.

Leave a Comment
  • Please add 4 and 8 and type the answer here:
  • Post
  • There is also an issue with NuGet when you switch to .NET 4.5.1, everything should be described here stackoverflow.com/.../net-4-5-1-preview-support-in-visual-studio-2012

  • I have just installed .NET 4.5.1 but not rebooted yet.

    http://grab.la/51w2mh check a screenshot.

    Anyway I wonder, why it takes 4.5 Gb on disk C:???

  • Please make .NET open source.

  • Hi

    You have any queries regarding .net framework contact us by email or ph.no given below , we providing 24*7 service........

    E-mail : Virtualknowledgehub@gmail.com

    Contact Number:  +91 9008907681 (India ) 408-907-0118 (USA )                                

    Regards,

    Raju

    Training Coordinator

    Virtual Knowledge Hub Pvt Ltd

  • Hi

    You have any queries regarding .net framework contact us by email or ph.no given below , we providing 24*7 service........

    E-mail : Virtualknowledgehub@gmail.com

    Contact Number:  +91 9008907681 (India ) 408-907-0118 (USA )                                

    Regards,

    Raju

    Training Coordinator

    Virtual Knowledge Hub Pvt Ltd

Page 1 of 1 (5 items)