{"action":"created","issue":{"url":"https://api.github.com/repos/fsharp/FAKE/issues/1281","repository_url":"https://api.github.com/repos/fsharp/FAKE","labels_url":"https://api.github.com/repos/fsharp/FAKE/issues/1281/labels{/name}","comments_url":"https://api.github.com/repos/fsharp/FAKE/issues/1281/comments","events_url":"https://api.github.com/repos/fsharp/FAKE/issues/1281/events","html_url":"https://github.com/fsharp/FAKE/pull/1281","id":162324353,"number":1281,"title":"WIP: Dotnetcore support","user":{"login":"matthid","id":1866463,"avatar_url":"https://avatars.githubusercontent.com/u/1866463?v=3","gravatar_id":"","url":"https://api.github.com/users/matthid","html_url":"https://github.com/matthid","followers_url":"https://api.github.com/users/matthid/followers","following_url":"https://api.github.com/users/matthid/following{/other_user}","gists_url":"https://api.github.com/users/matthid/gists{/gist_id}","starred_url":"https://api.github.com/users/matthid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthid/subscriptions","organizations_url":"https://api.github.com/users/matthid/orgs","repos_url":"https://api.github.com/users/matthid/repos","events_url":"https://api.github.com/users/matthid/events{/privacy}","received_events_url":"https://api.github.com/users/matthid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":19,"created_at":"2016-06-26T11:47:36Z","updated_at":"2016-07-22T18:25:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/fsharp/FAKE/pulls/1281","html_url":"https://github.com/fsharp/FAKE/pull/1281","diff_url":"https://github.com/fsharp/FAKE/pull/1281.diff","patch_url":"https://github.com/fsharp/FAKE/pull/1281.patch"},"body":"From https://github.com/fsharp/FAKE/issues/1232\r\n\r\nTODO:\r\n\r\n - [ ] https://github.com/dotnet/coreclr/blob/master/Documentation/building/debugging-instructions.md\r\n - [x] Mono.Cecil (https://github.com/jbevain/cecil/pull/269) \r\n - [x] Argu (https://github.com/fsprojects/Argu/pull/57)\r\n - [x] Make Fake work with `dotnet run -f net46` (and remove everything but the core)\r\n - [x] Make Fake run with `dotnet run -f netcoreapp1.0`\r\n - [ ] Things to cleanup\r\n   - [X] FCS.netcore: Chockes on `checker.ParseAndCheckProject(options)`: `internal error: Object reference not set to an instance of an object.` (Workaround for now -> no `fsi` object in build script). Disappeared after latest FCS update (merge with visualfsharp)\r\n   - [x] `Yaaf.FSharp.Scripting`: How do we resolve `FSharp.Core` with `sigdata` and `optdata` in this new world? Required for `let` functionality. (Workaround for now -> no `fsi` object in build script)\r\n   - [ ] Error `**** error: internal error: The type initializer for '<StartupCode$FSharp-Compiler-Service-netcore>.$Reshapedmsbuild' threw an exception.` when running with `fsi` object support\r\n   - [x] `error FS0192: internal error: the IL instruction Microsoft.FSharp.Compiler.AbstractIL.IL+ILInstr+I_seqpoint cannot be emitted`, See https://github.com/fsharp/FSharp.Compiler.Service/issues/591 and https://github.com/fsharp/FSharp.Compiler.Service/pull/592\r\n   - [x] Remove hardcoded references in `FSIHelper.fs`\r\n   - [x] Remove hardcoded path in `Yaaf.FSharp.Scripting`\r\n   - [ ] Remove binaries from lib folder (currently these \"special\" version are required)\r\n - [x] Try to make it run standalone -> we can test the bootstrapping experience from this point on (but FAKE scripts cannot have dependencies)\r\n - [ ] Add the `fake` coreclr tool -> maybe bootstrapping is better?\r\n - [x] Make Paket CoreCLR ready (https://github.com/fsprojects/Paket/pull/1785)\r\n - [x] Add Paket.Core to FAKE, read the script, add the resolving step and add the `#load` lines\r\n    - [x] Restore after Update as well\r\n    - [ ] Bug: Relative references via \"paket.inline\"\r\n    - [ ] Make the caching layer in fake load the correct assembly (depending on the current runtime and the runtime folder of the packages) if necessary (Microsoft.NETCore.Platforms)\r\n - [ ] Move the new \"Core\" to \"Fake.Runtime\"\r\n    - [ ] Remove duplicate code from FakeLib (mutables!)\r\n    - [ ] Remove Conditional Compilation from LegacyApi (was the first approach)\r\n    - [x] Remove StringHelpers from Fake.Runtime\r\n    - [x] Remove BuildServerHelper from Fake.Runtime (the interface probably need to remain, but it should be possible to extend)\r\n    - [ ] Strip FSIHelper.\r\n - [ ] Bootstrapping\r\n - [ ] Testing\r\n    - [x] Add dotnetcore build to AppVeyor\r\n    - [ ] and Travis\r\n    - [x] Add integration tests for the dotnetcore build\r\n - [ ] 'New' Library / Fake Components (a lot of packages are out of scope for this PR, see https://github.com/fsharp/FAKE/issues/1232)\r\n    - [x] Fake.Core.Environment\r\n    - [x] Fake.Core.String\r\n    - [x] Fake.Core.BuildServer\r\n    - [x] Fake.Core.Tracing\r\n    - [x] Fake.Core.Targets\r\n    - [ ] Fake.MsBuild\r\n    - [x] Fake.FileSystem\r\n    - [ ] Fake.Globbing\r\n    - [ ] Fake.Process\r\n    - [ ] Fake.NUnit\r\n    - [ ] Fake.AppVeyor\r\n    - [ ] Fake.FSharpFormatting\r\n    - [ ] Fake.Versioning\r\n    - [ ] Fake.Git\r\n    - [ ] Fake.ReleaseNotes\r\n    - [ ] Fake.AssemblyInfo\r\n    - [x] Fake.Tracing.NAntXml\r\n - [ ] Future: Trim packages ([here](https://docs.microsoft.com/de-de/dotnet/articles/core/deploying/reducing-dependencies) and [here](https://docs.microsoft.com/de-de/dotnet/articles/core/tutorials/managing-package-dependency-versions))\r\n\r\n## To test this branch\r\n```\r\ncd src/app/FakeLib.netcore/\r\ndotnet restore\r\ndotnet pack\r\ncd ../Fake.netcore/\r\ndotnet restore\r\ndotnet run -f net46 version # works\r\ndotnet run -f net46 run test.fsx # works\r\ndotnet run -f netcoreapp1.0 version # works\r\ndotnet publish\r\n./bin/Debug/netcoreapp1.0/win7-x64/publish/Fake.netcore.exe run test.fsx # works\r\n```\r\n\r\n## Current Errors:\r\n\r\n`FSharp.Compiler.Service`\r\n\r\n```\r\nerror FS0193: Could not load the specified file.\r\n```"},"comment":{"url":"https://api.github.com/repos/fsharp/FAKE/issues/comments/234619324","html_url":"https://github.com/fsharp/FAKE/pull/1281#issuecomment-234619324","issue_url":"https://api.github.com/repos/fsharp/FAKE/issues/1281","id":234619324,"user":{"login":"matthid","id":1866463,"avatar_url":"https://avatars.githubusercontent.com/u/1866463?v=3","gravatar_id":"","url":"https://api.github.com/users/matthid","html_url":"https://github.com/matthid","followers_url":"https://api.github.com/users/matthid/followers","following_url":"https://api.github.com/users/matthid/following{/other_user}","gists_url":"https://api.github.com/users/matthid/gists{/gist_id}","starred_url":"https://api.github.com/users/matthid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthid/subscriptions","organizations_url":"https://api.github.com/users/matthid/orgs","repos_url":"https://api.github.com/users/matthid/repos","events_url":"https://api.github.com/users/matthid/events{/privacy}","received_events_url":"https://api.github.com/users/matthid/received_events","type":"User","site_admin":false},"created_at":"2016-07-22T18:25:09Z","updated_at":"2016-07-22T18:25:09Z","body":"Ok Targets are working now! The dotnetcore team helped me out really quickly and linked a workaround.\r\n\r\n![working_targets](https://cloud.githubusercontent.com/assets/1866463/17066935/a85cc9dc-5049-11e6-8b5b-402bceab0f7f.jpg)\r\n"}}
{"actor":{"display_login":"matthid"}}