I want to use a simple (POCO only without other dependencies) PCL with targets
- Xamarin.Android
- Universal Windows 10
- ASP.NET Core 1.0
in an ASP.NET Core 1.0 RC2 project (all in the same solution). I have added this import to my project.json:
"frameworks": {
"netcoreapp1.0": {
"imports": [
"dotnet5.6",
"dnxcore50",
"portable-net451+win8"
],
"dependencies": {
"PCL.Library": {
"target": "project"
}
}
}
}
I don’t get any errors (compilation or otherwise) and the PCL.Library
project shows up in the references (without warning signs or anything). But I can’t use it in my ASP.NET Core 1.0 RC2 project because the using statements don’t resolve as if the PCL was not referenced at all.
How do I have to configure my PCL project and my ASP.NET Core project so that I can use the PCL?
Update: it does not work with the RTM version either. No reponse from the dev team on the GitHub issue leaves me thinking there is a fundamental issue making this impossible.