{"action":"opened","issue":{"url":"https://api.github.com/repos/fsprojects/Forge/issues/122","repository_url":"https://api.github.com/repos/fsprojects/Forge","labels_url":"https://api.github.com/repos/fsprojects/Forge/issues/122/labels{/name}","comments_url":"https://api.github.com/repos/fsprojects/Forge/issues/122/comments","events_url":"https://api.github.com/repos/fsprojects/Forge/issues/122/events","html_url":"https://github.com/fsprojects/Forge/issues/122","id":168826824,"number":122,"title":"Add project reference (using absolute paths) creates incorrect relative path","user":{"login":"thomaschrstnsn","id":37020,"avatar_url":"https://avatars.githubusercontent.com/u/37020?v=3","gravatar_id":"","url":"https://api.github.com/users/thomaschrstnsn","html_url":"https://github.com/thomaschrstnsn","followers_url":"https://api.github.com/users/thomaschrstnsn/followers","following_url":"https://api.github.com/users/thomaschrstnsn/following{/other_user}","gists_url":"https://api.github.com/users/thomaschrstnsn/gists{/gist_id}","starred_url":"https://api.github.com/users/thomaschrstnsn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomaschrstnsn/subscriptions","organizations_url":"https://api.github.com/users/thomaschrstnsn/orgs","repos_url":"https://api.github.com/users/thomaschrstnsn/repos","events_url":"https://api.github.com/users/thomaschrstnsn/events{/privacy}","received_events_url":"https://api.github.com/users/thomaschrstnsn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-02T08:24:00Z","updated_at":"2016-08-02T08:24:00Z","closed_at":null,"body":"<!--- Provide a general summary of the issue in the Title above -->\r\n\r\n## Expected Behaviour\r\n\r\nA project structure as such:\r\n```\r\n/Users/thchristensen/src/fsdemo/src/\r\n  -  Library/Library.fsproj \r\n   - ConsoleApp/ConsoleApp.fsproj\r\n```\r\n\r\nReferencing `Library` from `ConsoleApp` (using VSCode Ionide-fsharp 2.2.10) issues the following command:\r\n\r\n```\r\nforge add project -n /Users/thchristensen/src/fsdemo/src/Library/Library.fsproj -p /Users/thchristensen/src/fsdemo/src/ConsoleApp/ConsoleApp.fsproj --no-prompt\r\n```\r\n## Current Behavior\r\nPart of the change to the `ConsoleApp.fsproj` is:\r\n```\r\n    <ProjectReference Include=\"Library/Library.fsproj\">\r\n```\r\nExpected path to be:\r\n```\r\n    <ProjectReference Include=\"../Library/Library.fsproj\">\r\n```\r\n\r\n## Steps to Reproduce (for bugs)\r\n1. Create two new projects, one console app and one classlib in a subfolder to the project (`/src`)\r\n2. Try to reference the class lib from the console app\r\n\r\n\r\n## Your Environment\r\n<!--- Include as many relevant details about the environment you experienced the bug in -->\r\n* Version used: Forge shipped with vscode-ionide-fsharp 2.2.10\r\n* Environment name and version (F#, .Net): Mono OSX (homebrew)\r\n"}}
{"actor":{"display_login":"thomaschrstnsn"}}