{"action":"opened","issue":{"url":"https://api.github.com/repos/dotnet/standard/issues/547","repository_url":"https://api.github.com/repos/dotnet/standard","labels_url":"https://api.github.com/repos/dotnet/standard/issues/547/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/standard/issues/547/comments","events_url":"https://api.github.com/repos/dotnet/standard/issues/547/events","html_url":"https://github.com/dotnet/standard/issues/547","id":268096701,"number":547,"title":".NET Framework 4.7.1 with .NET Standard 2.0 library - missing/invalid dll","user":{"login":"Sergio0694","id":10199417,"avatar_url":"https://avatars3.githubusercontent.com/u/10199417?v=4","gravatar_id":"","url":"https://api.github.com/users/Sergio0694","html_url":"https://github.com/Sergio0694","followers_url":"https://api.github.com/users/Sergio0694/followers","following_url":"https://api.github.com/users/Sergio0694/following{/other_user}","gists_url":"https://api.github.com/users/Sergio0694/gists{/gist_id}","starred_url":"https://api.github.com/users/Sergio0694/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sergio0694/subscriptions","organizations_url":"https://api.github.com/users/Sergio0694/orgs","repos_url":"https://api.github.com/users/Sergio0694/repos","events_url":"https://api.github.com/users/Sergio0694/events{/privacy}","received_events_url":"https://api.github.com/users/Sergio0694/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-24T16:18:18Z","updated_at":"2017-10-24T16:18:18Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\nI'm working on a .NET Standard 2.0 library that references a .NET Framework library, specifically the [**Accord.Math**](https://www.nuget.org/packages/Accord.Math/) library, which is a .NET Framework library that is correctly loaded into the .NET Standard 2.0 library (I guess through that new compatibility layer).\r\n\r\nThe whole thing works fine and I have no problems whatsoever as long as I reference the .NET Standard 2.0 library from a .NET Core 2.0 program.\r\n\r\nThe problem is that I need to use the library from a .NET Framework program too, so I've installed the .NET Framework 4.7.1 preview to test it out, since it should support .NET Standard 2.0 libraries now.\r\n\r\nIf I just reference the .NET Standard 2.0 library like I did from the .NET Core 2.0 program though, I get the following exception as soon as the library uses the Accord.Math library:\r\n\r\n> Unhandled exception 'System.IO.FileNotFoundException' in mscorlib.dll\r\nCould not load the file or assembly 'Accord.Math, Version=3.8.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Could not find the target file.\r\n\r\nThis wasn't expected, since the same exact code is working fine from the .NET Core 2.0 program, and a .NET Framework 4.7.1 program should behave the same when using a .NET Standard 2.0 library.\r\nJust to make a test, I've tried referencing the same Accord.Math library from the program too, and I got this other exception:\r\n\r\n> Unhandled exception 'System.IO.FileLoadException' in mscorlib.dll\r\nCould not load file or assembly 'Accord.Math, Version=3.8.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)\r\n\r\nI'm not sure on how to proceed here, shouldn't the .NET Standard 2.0 library I'm referencing just works, without the need to manually tweak anything else, since I'm targeting .NET Framework 4.7.1?\r\n\r\nThank you for your help!\r\nSergio\r\n\r\nP.S.\r\nJust in case, if that helps, here's a [link to the library](https://github.com/Sergio0694/NeuralNetwork.NET/tree/feature_net-framework4.7.1).\r\n\r\n"}}
{"actor":{"display_login":"Sergio0694"}}