I created a solution with 2 projects a .net core 1.1 host (console) and a .net standard 1.6 class library.
I add the reference as project refrence.
Then at runtime i get the exception that the assembly of the client is not found. And this at the first place i use a type of the .net standard assembly so my test console looks as trivial as this:
class Program
{
static void Main(string[] args)
{
var foo = new Class1();
When I switch the host project to .net core 1.0 everything is working fine.
I published a sample here: https://github.com/Gentlehag/coreapp11bug
Is this expected behavior ?
Which .net standard library version should work with .net core 1.1 ?
In the meanwhile a discussion is here: https://github.com/dotnet/coreclr/issues/10037
Solution:
.net core doesn't support file reference at all at this moment. although the ide allowes it...
https://github.com/NuGet/Home/issues/4772#issuecomment-285394790
So the solution is to wrap up in nuget packages or create a solution which adds all existing projects