{"action":"created","issue":{"url":"https://api.github.com/repos/ionide/ionide-vscode-fsharp/issues/496","repository_url":"https://api.github.com/repos/ionide/ionide-vscode-fsharp","labels_url":"https://api.github.com/repos/ionide/ionide-vscode-fsharp/issues/496/labels{/name}","comments_url":"https://api.github.com/repos/ionide/ionide-vscode-fsharp/issues/496/comments","events_url":"https://api.github.com/repos/ionide/ionide-vscode-fsharp/issues/496/events","html_url":"https://github.com/ionide/ionide-vscode-fsharp/issues/496","id":250297686,"number":496,"title":"Problem with project references on .NET Core 2.0","user":{"login":"gsomix","id":832449,"avatar_url":"https://avatars3.githubusercontent.com/u/832449?v=4","gravatar_id":"","url":"https://api.github.com/users/gsomix","html_url":"https://github.com/gsomix","followers_url":"https://api.github.com/users/gsomix/followers","following_url":"https://api.github.com/users/gsomix/following{/other_user}","gists_url":"https://api.github.com/users/gsomix/gists{/gist_id}","starred_url":"https://api.github.com/users/gsomix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gsomix/subscriptions","organizations_url":"https://api.github.com/users/gsomix/orgs","repos_url":"https://api.github.com/users/gsomix/repos","events_url":"https://api.github.com/users/gsomix/events{/privacy}","received_events_url":"https://api.github.com/users/gsomix/received_events","type":"User","site_admin":false},"labels":[{"id":288457145,"url":"https://api.github.com/repos/ionide/ionide-vscode-fsharp/labels/bug","name":"bug","color":"fc2929","default":true},{"id":627457377,"url":"https://api.github.com/repos/ionide/ionide-vscode-fsharp/labels/dotnet/sdk","name":"dotnet/sdk","color":"d4c5f9","default":false},{"id":426952715,"url":"https://api.github.com/repos/ionide/ionide-vscode-fsharp/labels/language%20services%20(FSAC%20/%20FCS%20/%20Project%20Cracker)","name":"language services (FSAC / FCS / Project Cracker)","color":"e99695","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-08-15T12:13:56Z","updated_at":"2017-08-16T11:50:29Z","closed_at":"2017-08-16T11:50:29Z","body":"Ionide doesn't see library reference on .NET Core 2.0 solution with two projects.\r\n\r\n#### Repro steps\r\n\r\n1. Create solution with two projects: classlib and console\r\n\r\n```\r\nmkdir netcore2-vscode\r\ncd  .\\netcore2-vscode\\\r\ndotnet new sln\r\ndotnet new classlib -lang f# -o .\\lib\\\r\ndotnet new console -lang f# -o .\\app\\\r\ndotnet add .\\app\\app.fsproj reference .\\lib\\lib.fsproj\r\ndotnet sln add .\\app\\app.fsproj\r\ndotnet sln add .\\lib\\lib.fsproj\r\ndotnet restore\r\n```\r\n\r\n2. Put following code into `.\\app\\Program.fs`\r\n\r\n```fsharp\r\nopen System\r\nopen lib\r\n\r\n[<EntryPoint>]\r\nlet main argv =\r\n    Say.hello \"World\"\r\n    0 // return an integer exit code\r\n```\r\n\r\n3. Build and check that's everything is OK\r\n\r\n```\r\ndotnet build\r\ndotnet run --project .\\app\\app.fsproj\r\n```\r\n\r\n4. Open solution in VSCode\r\n\r\n#### Expected behavior\r\n\r\nEverything is fine. No errors in VSCode.\r\n\r\n#### Actual behavior\r\n\r\nErrors in VSCode:\r\n\r\n- Problem reading assembly 'c:\\Users\\m1k3y\\Documents\\netcore2-vscode\\lib\\bin\\Debug\\netstandard2.0\\lib.dll': Build was not evaluated, expected the results to be ready after 'Eval'.'\r\n- The namespace or module 'lib' is not defined.\r\n- The value, namespace, type or module 'Say' is not defined.\r\n\r\n![vscode-screenshot](https://user-images.githubusercontent.com/832449/29315447-5dd7ad88-81d4-11e7-9703-3081a5788679.png)\r\n\r\nSorry for translated version of VSCode.\r\n\r\n\r\n#### Related information \r\n\r\n* Operating system: Windows 8.1\r\n* .NET Core 2.0\r\n* Visual Studio Code 1.15.0, Ionide 2.32.2\r\n\r\nPlease find attached repro: [netcore2-vscode.zip](https://github.com/ionide/ionide-vscode-fsharp/files/1224953/netcore2-vscode.zip)\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/ionide/ionide-vscode-fsharp/issues/comments/322746306","html_url":"https://github.com/ionide/ionide-vscode-fsharp/issues/496#issuecomment-322746306","issue_url":"https://api.github.com/repos/ionide/ionide-vscode-fsharp/issues/496","id":322746306,"user":{"login":"Krzysztof-Cieslak","id":5427083,"avatar_url":"https://avatars1.githubusercontent.com/u/5427083?v=4","gravatar_id":"","url":"https://api.github.com/users/Krzysztof-Cieslak","html_url":"https://github.com/Krzysztof-Cieslak","followers_url":"https://api.github.com/users/Krzysztof-Cieslak/followers","following_url":"https://api.github.com/users/Krzysztof-Cieslak/following{/other_user}","gists_url":"https://api.github.com/users/Krzysztof-Cieslak/gists{/gist_id}","starred_url":"https://api.github.com/users/Krzysztof-Cieslak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Krzysztof-Cieslak/subscriptions","organizations_url":"https://api.github.com/users/Krzysztof-Cieslak/orgs","repos_url":"https://api.github.com/users/Krzysztof-Cieslak/repos","events_url":"https://api.github.com/users/Krzysztof-Cieslak/events{/privacy}","received_events_url":"https://api.github.com/users/Krzysztof-Cieslak/received_events","type":"User","site_admin":false},"created_at":"2017-08-16T11:50:29Z","updated_at":"2017-08-16T11:50:29Z","body":"Closing this one since it's tracked on FSAC repo. "}}
{"actor":{"display_login":"Krzysztof-Cieslak"}}