Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Visual Studio 2013 Cookbook

You're reading from   Visual Studio 2013 Cookbook Understanding the latest features of Visual Studio can speed up and streamline your projects. And there's no better learning tool than this collection of focused recipes that gives you the fast, hands-on experience you need.

Arrow left icon
Product type Paperback
Published in Mar 2014
Publisher Packt
ISBN-13 9781782171966
Length 332 pages
Edition Edition
Languages
Arrow right icon
Toc

Table of Contents (17) Chapters Close

Visual Studio 2013 Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
1. Discovering Visual Studio 2013 FREE CHAPTER 2. Getting Started with Windows Store Applications 3. Web Development – ASP.NET, HTML5, CSS, and JavaScript 4. .NET Framework 4.5.1 Development 5. Debugging Your .NET Application 6. Asynchrony in .NET 7. Unwrapping C++ Development 8. Working with Team Foundation Server 2013 9. Languages Visual Studio Medley Index

Sharing class libraries across runtimes


There are a number of managed runtimes and profiles for .NET development, including the .NET Framework, Silverlight, Windows Phone, and now the WinRT profile for Windows 8 (also known as Windows Store). If you have to write code that can be shared across more than one of these runtimes, it usually involves either the use of copy-and-paste development (never a good idea!) or multiple versions of the same project and the use of linked files. The linked files approach is cumbersome and error prone and often a pain to work with when Visual Studio is telling you it can't open a file as it is already open in another project.

The solution to this is to use Portable Class Libraries. The idea here is that you can build a class library that works across all desired runtimes by ensuring that only code that works on all runtimes is used. Further, the compiler only builds the project once, regardless of the number of runtimes supported, making the overall solution...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime