Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

How to package a .NET library targeting .NET Framework and Universal Windows Platform and include platform-specific functionality?

$
0
0

How do I package a .NET library that has the following properties in a modern general-purpose way?

  • Offers some shared functionality to both .NET Framework 4.6 and Universal Windows Platform.
  • Offers some platform-specific functionality to each (e.g. specialized classes or APIs, including XAML user controls for UWP) with potential platform-specific dependencies on external libraries.
  • Is architecture-agnostic (AnyCPU).
  • The portable subset of which can be used by other portable libraries that target a compatible API surface.

This is a series of questions and answers that document my findings on the topic of modern NuGet package authoring, focusing especially on the changes introduced with NuGet 3. You may also be interested in some related questions:


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>