title: Build a simple class library for ASP.NET Core and MVC 5 Applications
body: <p>I want to build a simple <em>C# Class Library</em> that can be referenced from both <em>ASP.NET Core 1.1 MVC</em> and <em>MVC 5</em> web applications.  By <em>simple</em> I mean that the library just contains some <em>enums</em> and some <em>string constants</em>, i.e. no additional dependencies.</p>
  
  <p>I have tried building the library as a .NET Core Class Library, but it seems this cannot be referenced by MVC 5 applications and vice versa.  Currently, all components (class library and web applications) are running in the same solution.</p>
  
  <p>Is there a way of achieving this?</p>
  
  <p>Thanks.</p>