{"action":"opened","issue":{"url":"https://api.github.com/repos/OmniSharp/omnisharp-vim/issues/278","repository_url":"https://api.github.com/repos/OmniSharp/omnisharp-vim","labels_url":"https://api.github.com/repos/OmniSharp/omnisharp-vim/issues/278/labels{/name}","comments_url":"https://api.github.com/repos/OmniSharp/omnisharp-vim/issues/278/comments","events_url":"https://api.github.com/repos/OmniSharp/omnisharp-vim/issues/278/events","html_url":"https://github.com/OmniSharp/omnisharp-vim/issues/278","id":190510826,"number":278,"title":"Code completion not working when using absolute paths in .csproj","user":{"login":"MontyHimself","id":16304918,"avatar_url":"https://avatars.githubusercontent.com/u/16304918?v=3","gravatar_id":"","url":"https://api.github.com/users/MontyHimself","html_url":"https://github.com/MontyHimself","followers_url":"https://api.github.com/users/MontyHimself/followers","following_url":"https://api.github.com/users/MontyHimself/following{/other_user}","gists_url":"https://api.github.com/users/MontyHimself/gists{/gist_id}","starred_url":"https://api.github.com/users/MontyHimself/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MontyHimself/subscriptions","organizations_url":"https://api.github.com/users/MontyHimself/orgs","repos_url":"https://api.github.com/users/MontyHimself/repos","events_url":"https://api.github.com/users/MontyHimself/events{/privacy}","received_events_url":"https://api.github.com/users/MontyHimself/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-19T18:07:53Z","updated_at":"2016-11-19T18:07:53Z","closed_at":null,"body":"If I am using absolute paths for the HintPaths for references and the path to the .target files to be imported, omnisharp-vim apparently does not recognize them anymore and doesn't provide me with anything for autocompletion (i.e. it only shows the locally declared members).\r\n\r\nThis is how these elements look like in my .csproj now:\r\n```xml\r\n<Reference Include=\"MonoGame.Framework\">\r\n    <HintPath>$(MonoGameInstallDirectory)\\MonoGame\\v3.0\\Assemblies\\DesktopGL\\MonoGame.Framework.dll</HintPath>                        \r\n</Reference>\r\n<Import Project=\"$(MSBuildExtensionsPath)\\MonoGame\\v3.0\\MonoGame.Content.Builder.targets\" />\r\n```\r\n\r\nI can remove the variables and use absolute paths instead like this, but it doesn't change anything:\r\n```xml\r\n<Reference Include=\"MonoGame.Framework\">\r\n    <HintPath>\\usr\\lib\\mono\\xbuild\\MonoGame\\v3.0\\Assemblies\\DesktopGL\\MonoGame.Framework.dll</HintPath>                        \r\n</Reference>\r\n<Import Project=\"\\usr\\lib\\mono\\xbuild\\MonoGame\\v3.0\\MonoGame.Content.Builder.targets\" />\r\n```\r\n\r\nIt only works when I use relative paths from the project directory:\r\n```xml\r\n<Reference Include=\"MonoGame.Framework\">\r\n    <HintPath>..\\..\\..\\..\\usr\\lib\\mono\\xbuild\\MonoGame\\v3.0\\Assemblies\\DesktopGL\\MonoGame.Framework.dll</HintPath>                        \r\n</Reference>\r\n<Import Project=\"..\\..\\..\\..\\usr\\lib\\mono\\xbuild\\MonoGame\\v3.0\\MonoGame.Content.Builder.targets\" />\r\n```\r\n\r\nI am using Fedora 24 with the latest version of omnisharp-vim."}}
{"actor":{"display_login":"MontyHimself"}}