Visual Studio / .NET Framework

TH20 Multi-targeting the World: A Single Project to Rule Them All

03/15/2018

4:00pm - 5:15pm

Level: Intermediate to Advanced

Claire Novotny

Executive Director of the .NET Foundation, and PM on the .NET Team

Microsoft

This is an introduction to creating single and multi-targeted .NET Standard class libraries using the new "SDK-style" project system. You'll recap what .NET Standard, what problems it solves, and how to get started. Next, you'll dive into some of the new capabilities of the "SDK-style" project type, learn how to consolidate projects that need to target multiple platforms into a single project, and easily create a NuGet package for the library. Finally, you'll see how to convert an older class library into a .NET Standard library.

You will learn:

  • About the .NET Standard, where it is, what it supports, and where it came from
  • About multi-targeting with the new "SDK-style" projects, how and why to multi-target, and how to create NuGet packages to distribute the result
  • How to convert a portable class library to a .NET Standard class library