{"action":"created","issue":{"url":"https://api.github.com/repos/DiffSharp/DiffSharp/issues/19","repository_url":"https://api.github.com/repos/DiffSharp/DiffSharp","labels_url":"https://api.github.com/repos/DiffSharp/DiffSharp/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/DiffSharp/DiffSharp/issues/19/comments","events_url":"https://api.github.com/repos/DiffSharp/DiffSharp/issues/19/events","html_url":"https://github.com/DiffSharp/DiffSharp/pull/19","id":163746004,"number":19,"title":"Paket upgrade","user":{"login":"smoothdeveloper","id":87944,"avatar_url":"https://avatars.githubusercontent.com/u/87944?v=3","gravatar_id":"","url":"https://api.github.com/users/smoothdeveloper","html_url":"https://github.com/smoothdeveloper","followers_url":"https://api.github.com/users/smoothdeveloper/followers","following_url":"https://api.github.com/users/smoothdeveloper/following{/other_user}","gists_url":"https://api.github.com/users/smoothdeveloper/gists{/gist_id}","starred_url":"https://api.github.com/users/smoothdeveloper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smoothdeveloper/subscriptions","organizations_url":"https://api.github.com/users/smoothdeveloper/orgs","repos_url":"https://api.github.com/users/smoothdeveloper/repos","events_url":"https://api.github.com/users/smoothdeveloper/events{/privacy}","received_events_url":"https://api.github.com/users/smoothdeveloper/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-04T21:52:34Z","updated_at":"2016-07-15T15:57:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/DiffSharp/DiffSharp/pulls/19","html_url":"https://github.com/DiffSharp/DiffSharp/pull/19","diff_url":"https://github.com/DiffSharp/DiffSharp/pull/19.diff","patch_url":"https://github.com/DiffSharp/DiffSharp/pull/19.patch"},"body":"* migrated from raw NuGet to paket\r\n* updated depedencies"},"comment":{"url":"https://api.github.com/repos/DiffSharp/DiffSharp/issues/comments/232992331","html_url":"https://github.com/DiffSharp/DiffSharp/pull/19#issuecomment-232992331","issue_url":"https://api.github.com/repos/DiffSharp/DiffSharp/issues/19","id":232992331,"user":{"login":"gbaydin","id":5365982,"avatar_url":"https://avatars.githubusercontent.com/u/5365982?v=3","gravatar_id":"","url":"https://api.github.com/users/gbaydin","html_url":"https://github.com/gbaydin","followers_url":"https://api.github.com/users/gbaydin/followers","following_url":"https://api.github.com/users/gbaydin/following{/other_user}","gists_url":"https://api.github.com/users/gbaydin/gists{/gist_id}","starred_url":"https://api.github.com/users/gbaydin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbaydin/subscriptions","organizations_url":"https://api.github.com/users/gbaydin/orgs","repos_url":"https://api.github.com/users/gbaydin/repos","events_url":"https://api.github.com/users/gbaydin/events{/privacy}","received_events_url":"https://api.github.com/users/gbaydin/received_events","type":"User","site_admin":false},"created_at":"2016-07-15T15:57:17Z","updated_at":"2016-07-15T15:57:17Z","body":"@dsyme, I really want this to be a .NET Standard library too. I've been reading through most the documentations here:\r\n\r\nhttps://docs.microsoft.com/en-us/dotnet/articles/core/tutorials/libraries\r\n\r\nI've been working on a version which targets .NET Framework 4.5 and .NET Standard 1.6, with something like:\r\n\r\n```json\r\n{\r\n    \"version\": \"0.7.8-*\",\r\n    \"buildOptions\": {\r\n        \"compilerName\": \"fsc\",\r\n        \"compile\": {\r\n            \"includeFiles\": [\r\n                \"Util.fs\",\r\n                \"Backend.fs\",\r\n                \"Backend.OpenBLAS.fs\",\r\n                \"Config.fs\",\r\n                \"AD.Float32.fs\",\r\n                \"AD.Float64.fs\"\r\n            ]\r\n        }\r\n    },\r\n    \"tools\": {\r\n        \"dotnet-compile-fsc\": {\r\n            \"version\": \"1.0.0-preview2-*\"\r\n        }\r\n    },\r\n    \"frameworks\": {\r\n        \"netstandard1.6\": {\r\n            \"dependencies\": {\r\n                \"NETStandard.Library\": \"1.6.0\",\r\n                \"Microsoft.FSharp.Core.netcore\": \"1.0.0-alpha-160629\"\r\n            }\r\n        },\r\n        \"net45\":{\r\n            \"dependencies\": {\r\n                \"FSharp.Core\" : \"4.0.0.1\"\r\n            }\r\n        }\r\n    }\r\n}\r\n```\r\n\r\nThis compiles successfully with .NET Core 1.0.0-preview2-003121 on Ubuntu 16.04, which is good. :)\r\n\r\nAs I understand, I can't target any .NET Standard lower than 1.6 because I get, for example: \r\n\r\n```\r\nPackage Microsoft.FSharp.Core.netcore 1.0.0-alpha-160629 is not compatible with netstandard1.2 (.NETStandard,Version=v1.2). Package Microsoft.FSharp.Core.netcore 1.0.0-alpha-160629 supports: netstandard1.6 (.NETStandard,Version=v1.6)\r\n```\r\n\r\nOne of my issues is getting the dependency \"FSharp.Quotations.Evaluator\" working with netstandard1.6. It seems to support it through a portable profile (https://www.nuget.org/packages/FSharp.Quotations.Evaluator/), and I have to read a bit more to understand how to get it working.\r\n\r\nThe biggest showstopper for me is when I could not load and use the DiffSharp.dll compiled for netstandard1.6, in F# Interactive:\r\n\r\n```\r\nF# Interactive for F# 4.0 (Open Source Edition)\r\nFreely distributed under the Apache 2.0 Open Source License\r\n\r\nFor help type #help;;\r\n\r\n> #r \"DiffSharp.dll\";;\r\n\r\n  #r \"DiffSharp.dll\";;\r\n  ^^^^^^^^^^^^^^^^^^\r\n\r\n/home/gunes/DiffSharp-core/src/DiffSharp/bin/Debug/netstandard1.6/stdin(1,1): error FS0078: Unable to find the file 'System.Runtime.dll' in any of\r\n /usr/lib/mono/4.5\r\n /home/gunes/DiffSharp-core/src/DiffSharp/bin/Debug/netstandard1.6\r\n /usr/lib/cli/fsharp/\r\n```\r\n\r\nMy understanding is that the version of F# Interactive I have (installed following the instructions here: http://fsharp.org/use/linux/ ) does not support .NET Core libraries, because it is using mono. This usage case is very important for us, because we want to be able to direct the users to install the new, shiny, cross-platform .NET Core, and use F# Interactive and .fsx files to run their experiments with DiffSharp.\r\n\r\nI really hope that we could have instructions on fsharp.org to get the F# tools using .NET Core.\r\n"}}
{"actor":{"display_login":"gbaydin"}}