{"action":"created","issue":{"url":"https://api.github.com/repos/stephan-tolksdorf/fparsec/issues/27","repository_url":"https://api.github.com/repos/stephan-tolksdorf/fparsec","labels_url":"https://api.github.com/repos/stephan-tolksdorf/fparsec/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/stephan-tolksdorf/fparsec/issues/27/comments","events_url":"https://api.github.com/repos/stephan-tolksdorf/fparsec/issues/27/events","html_url":"https://github.com/stephan-tolksdorf/fparsec/issues/27","id":303708152,"number":27,"title":"FSharp.Core Downgrade error when referencing a project using FParsec","user":{"login":"vanceism7","id":2016375,"avatar_url":"https://avatars3.githubusercontent.com/u/2016375?v=4","gravatar_id":"","url":"https://api.github.com/users/vanceism7","html_url":"https://github.com/vanceism7","followers_url":"https://api.github.com/users/vanceism7/followers","following_url":"https://api.github.com/users/vanceism7/following{/other_user}","gists_url":"https://api.github.com/users/vanceism7/gists{/gist_id}","starred_url":"https://api.github.com/users/vanceism7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vanceism7/subscriptions","organizations_url":"https://api.github.com/users/vanceism7/orgs","repos_url":"https://api.github.com/users/vanceism7/repos","events_url":"https://api.github.com/users/vanceism7/events{/privacy}","received_events_url":"https://api.github.com/users/vanceism7/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-09T03:04:30Z","updated_at":"2018-03-13T06:50:01Z","closed_at":null,"author_association":"NONE","body":"Hey, thanks for making this awesome lib. I'm getting the following issue:\r\nI created a classlib using dotnet new and installed a reference to FParsec using paket. I then made a separate console application which references this classlib. When doing this, I get an Assembly version mismatch error which causes the console app to crash on start\r\n\r\n### Repro steps below:\r\n1. dotnet new console -n wwh-cli -lang f#\r\n2. dotnet new classlib -n wwh-parse -lang f#\r\n3. dotnet new sln -n WWH\r\n4. Copy .paket into directory\r\n5. paket.exe init\r\n6. Create paket.references in wwh-parse classlib with FParsec reference\r\n7. paket.exe add FParsec --version 1.0.3\r\n8. Ionide - Add wwh-cli project to sln \r\n9. Ionide - Add wwh-parse project to sln \r\n10. Ionide - Add wwh-parse project reference to wwh-cli console app\r\n11. Dotnet run -- run console app and get the following errors\r\n\r\n```\r\nWWH\\wwh-cli\\wwh-cli.fsproj : warning NU1605: Detected package downgrade: FSharp.Core from 4.3.4 to 4.2.3. Reference the package directly from the project to select a different version.\r\nWWH\\wwh-cli\\wwh-cli.fsproj : warning NU1605:  wwh-cli -> wwh-parse -> FSharp.Core (>= 4.3.4)\r\nWWH\\wwh-cli\\wwh-cli.fsproj : warning NU1605:  wwh-cli -> FSharp.Core (>= 4.2.0)\r\nWWH\\wwh-cli\\wwh-cli.fsproj : warning NU1605: Detected package downgrade: FSharp.Core from 4.3.4 to 4.2.3. Reference the package directly from the project to select a different version.\r\nWWH\\wwh-cli\\wwh-cli.fsproj : warning NU1605:  wwh-cli -> wwh-parse -> FSharp.Core (>= 4.3.4)\r\nWWH\\wwh-cli\\wwh-cli.fsproj : warning NU1605:  wwh-cli -> FSharp.Core (>= 4.2.0)\r\nC:\\Program Files\\dotnet\\sdk\\2.1.4\\Microsoft.Common.CurrentVersion.targets(2041,5): warning MSB3277: Found conflicts between different versions of \"FSharp.Core\" that could not be resolved.  These reference conflicts are listed in the build log when log verbosity is set to detailed.\r\n[WWH\\wwh-cli\\wwh-cli.fsproj]\r\n\r\nUnhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'FSharp.Core, Version=4.4.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)\r\n   at Program.main(String[] argv)\r\n```\r\n### What it should do\r\nIt should run the console app\r\n\r\n### Workarounds\r\nIf I add a reference in the console app to FParsec in paket.references file, the error goes away\r\n\r\nThanks for your help!\r\n"},"comment":{"url":"https://api.github.com/repos/stephan-tolksdorf/fparsec/issues/comments/372564204","html_url":"https://github.com/stephan-tolksdorf/fparsec/issues/27#issuecomment-372564204","issue_url":"https://api.github.com/repos/stephan-tolksdorf/fparsec/issues/27","id":372564204,"user":{"login":"vanceism7","id":2016375,"avatar_url":"https://avatars3.githubusercontent.com/u/2016375?v=4","gravatar_id":"","url":"https://api.github.com/users/vanceism7","html_url":"https://github.com/vanceism7","followers_url":"https://api.github.com/users/vanceism7/followers","following_url":"https://api.github.com/users/vanceism7/following{/other_user}","gists_url":"https://api.github.com/users/vanceism7/gists{/gist_id}","starred_url":"https://api.github.com/users/vanceism7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vanceism7/subscriptions","organizations_url":"https://api.github.com/users/vanceism7/orgs","repos_url":"https://api.github.com/users/vanceism7/repos","events_url":"https://api.github.com/users/vanceism7/events{/privacy}","received_events_url":"https://api.github.com/users/vanceism7/received_events","type":"User","site_admin":false},"created_at":"2018-03-13T06:50:01Z","updated_at":"2018-03-13T06:50:01Z","author_association":"NONE","body":"I just realized what you meant, I'll give it a try using standard nugget package manager/other distro methods and let you know if that fixes the issue"}}
{"actor":{"display_login":"vanceism7"}}