Which type of class library should I create?

R Evans 211 Reputation points
2020-08-24T15:44:50.347+00:00

I am beginning a class library for a PDF project, but I am not sure of which type of class library to target: .NET Core? .NET Framework? .NET Standard? Universal Windows?

I would like for my library to be usable by both UWP and WPF and possibly Windows Forms and ASP.NET applications. Will any one of these class library types work for that goal?

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,903 questions
Universal Windows Platform (UWP)
Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,784 questions
0 comments No comments
{count} votes

Accepted answer
  1. Ken Tucker 5,856 Reputation points
    2020-08-25T01:05:04.71+00:00

    I would use a .net standard library. It can be used my .net core, .net framework, and xamarin.

    What are you trying to get your library to do?

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.