{"action":"opened","issue":{"url":"https://api.github.com/repos/fsharp/fsharp/issues/595","repository_url":"https://api.github.com/repos/fsharp/fsharp","labels_url":"https://api.github.com/repos/fsharp/fsharp/issues/595/labels{/name}","comments_url":"https://api.github.com/repos/fsharp/fsharp/issues/595/comments","events_url":"https://api.github.com/repos/fsharp/fsharp/issues/595/events","html_url":"https://github.com/fsharp/fsharp/issues/595","id":168303606,"number":595,"title":"F# 4.0 stuck at .Net 4.5.0 compat-level","user":{"login":"haf","id":193115,"avatar_url":"https://avatars.githubusercontent.com/u/193115?v=3","gravatar_id":"","url":"https://api.github.com/users/haf","html_url":"https://github.com/haf","followers_url":"https://api.github.com/users/haf/followers","following_url":"https://api.github.com/users/haf/following{/other_user}","gists_url":"https://api.github.com/users/haf/gists{/gist_id}","starred_url":"https://api.github.com/users/haf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haf/subscriptions","organizations_url":"https://api.github.com/users/haf/orgs","repos_url":"https://api.github.com/users/haf/repos","events_url":"https://api.github.com/users/haf/events{/privacy}","received_events_url":"https://api.github.com/users/haf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-29T11:16:50Z","updated_at":"2016-07-29T11:16:50Z","closed_at":null,"body":"There's currently no way to reference nugets or DLLs which have a higher level than .Net 4.5, because when changing TargetFrameworkVersion inside `fsproj` files, the compiler complains:\r\n\r\n```\r\nProject \"/Users/h/dev/haf/logary/src/Logary/Logary.fsproj\" (default target(s)):\r\n\tTarget PrepareForBuild:\r\n\t\tConfiguration: Debug Platform: AnyCPU\r\n\tTarget GetFrameworkPaths:\r\n/Library/Frameworks/Mono.framework/Versions/4.4.1/lib/mono/4.5/Microsoft.Common.targets:  warning : TargetFrameworkVersion 'v4.5.2' not supported by this toolset (ToolsVersion: 4.0).\r\n```\r\n\r\n#### Repro steps\r\n\r\n 1. Create a new F# library\r\n 2. Change the target version to 4.5.2\r\n 3. Watch it crash as you try to use it/warning as you compile it.\r\n 4. Alternatively add Topshelf 4.x, which has a lowest-.Net of 4.5.2 and try to compile: doesn't work.\r\n\r\n#### Expected behavior\r\n\r\nF# should be usable for later .net framework versions.\r\n\r\n#### Actual behavior\r\n\r\nF#'s compiler complains when compiling the fsproj file.\r\n\r\n#### Known workarounds\r\n\r\nNo known workarounds.\r\n\r\n#### Related information \r\n\r\n* Operating system: OS X\r\n* Branch: -\r\n* .NET Runtime, CoreCLR or Mono Version: Mono v4.4.1\r\n* Editing Tools (e.g. Visual Studio Version): xbuild/vscode\r\n* Links to F# RFCs or entries on http://fslang.uservoice.com\r\n* Links to performance testing scripts\r\n* Indications of severity: medium"}}
{"actor":{"display_login":"haf"}}