How to use PCL in ASP.NET Core 1.0 RC2 project

后端 未结 1 723
灰色年华
灰色年华 2021-01-21 11:20

I want to use a simple (POCO only without other dependencies) PCL with targets

  • Xamarin.Android
  • Universal Windows 10
  • ASP.NET Core 1.0
1条回答
  •  再見小時候
    2021-01-21 12:15

    I believe this is related to: https://github.com/aspnet/Home/issues/1356

    It might be best to follow up on this issue tracker and ask for the current status although it says it will be supported in RC2.

    This is part of the whole .NET platform standardization via the netstandard(https://github.com/dotnet/corefx/blob/master/Documentation/architecture/net-platform-standard.md)

    You can read more about this here:

    http://damien.dennehy.me/blog/2016/01/15/class-library-packages-future-class-libraries/

    Note: There's a doc I found today regarding targeting a PCL:

    http://dotnet.github.io/docs/core-concepts/libraries/libraries-with-cli.html#how-to-target-a-portable-class-library-pcl

    0 讨论(0)
提交回复
热议问题