{"action":"created","issue":{"url":"https://api.github.com/repos/mono/CppSharp/issues/1110","repository_url":"https://api.github.com/repos/mono/CppSharp","labels_url":"https://api.github.com/repos/mono/CppSharp/issues/1110/labels{/name}","comments_url":"https://api.github.com/repos/mono/CppSharp/issues/1110/comments","events_url":"https://api.github.com/repos/mono/CppSharp/issues/1110/events","html_url":"https://github.com/mono/CppSharp/issues/1110","id":345794817,"node_id":"MDU6SXNzdWUzNDU3OTQ4MTc=","number":1110,"title":"Can't use CppAbi enum in user code","user":{"login":"jspohr","id":1578023,"node_id":"MDQ6VXNlcjE1NzgwMjM=","avatar_url":"https://avatars0.githubusercontent.com/u/1578023?v=4","gravatar_id":"","url":"https://api.github.com/users/jspohr","html_url":"https://github.com/jspohr","followers_url":"https://api.github.com/users/jspohr/followers","following_url":"https://api.github.com/users/jspohr/following{/other_user}","gists_url":"https://api.github.com/users/jspohr/gists{/gist_id}","starred_url":"https://api.github.com/users/jspohr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jspohr/subscriptions","organizations_url":"https://api.github.com/users/jspohr/orgs","repos_url":"https://api.github.com/users/jspohr/repos","events_url":"https://api.github.com/users/jspohr/events{/privacy}","received_events_url":"https://api.github.com/users/jspohr/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-30T14:57:17Z","updated_at":"2018-08-01T20:12:49Z","closed_at":"2018-08-01T20:12:49Z","author_association":"NONE","body":"##### Brief Description\r\nUsing version 0.8.20 from NuGet, I can't use values from the CppAbi enum to configure the parser. \r\nThe following code does not compile:\r\n\r\n```\r\nnamespace CppSharpTest {\r\n  class Program {\r\n    static void Main(string[] args) {\r\n      var abi = CppSharp.Parser.AST.CppAbi.Itanium;\r\n    }\r\n  }\r\n}\r\n```\r\n\r\nIt produces the following error message:\r\n\r\n```\r\nerror CS0433: The type 'CppAbi' exists in both 'CppSharp.Parser.CLI, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'CppSharp.Parser.CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'\r\n```\r\nIt doesn't matter which enum value I use, as the error refers to the enum class itself. When switching to 0.8.19, everything works fine.\r\n\r\nOS: Windows 10\r\nVisual Studio 2015\r\n\r\npackages.config:\r\n```\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<packages>\r\n  <package id=\"Baseclass.Contrib.Nuget.Output\" version=\"2.4.3\" targetFramework=\"net452\" />\r\n  <package id=\"CppSharp\" version=\"0.8.20\" targetFramework=\"net452\" developmentDependency=\"true\" />\r\n</packages>\r\n```\r\n\r\n##### Used settings\r\nTarget: MSVC\r\nNew project of type \"C# Console Application\", changed .NET TargetFrameworkVersion to 4.6.1, and PlatformTarget to x64. All other settings are defaults."},"comment":{"url":"https://api.github.com/repos/mono/CppSharp/issues/comments/409706523","html_url":"https://github.com/mono/CppSharp/issues/1110#issuecomment-409706523","issue_url":"https://api.github.com/repos/mono/CppSharp/issues/1110","id":409706523,"node_id":"MDEyOklzc3VlQ29tbWVudDQwOTcwNjUyMw==","user":{"login":"ddobrev","id":5193072,"node_id":"MDQ6VXNlcjUxOTMwNzI=","avatar_url":"https://avatars3.githubusercontent.com/u/5193072?v=4","gravatar_id":"","url":"https://api.github.com/users/ddobrev","html_url":"https://github.com/ddobrev","followers_url":"https://api.github.com/users/ddobrev/followers","following_url":"https://api.github.com/users/ddobrev/following{/other_user}","gists_url":"https://api.github.com/users/ddobrev/gists{/gist_id}","starred_url":"https://api.github.com/users/ddobrev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddobrev/subscriptions","organizations_url":"https://api.github.com/users/ddobrev/orgs","repos_url":"https://api.github.com/users/ddobrev/repos","events_url":"https://api.github.com/users/ddobrev/events{/privacy}","received_events_url":"https://api.github.com/users/ddobrev/received_events","type":"User","site_admin":false},"created_at":"2018-08-01T20:12:49Z","updated_at":"2018-08-01T20:12:49Z","author_association":"CONTRIBUTOR","body":"Fixed in release 0.8.21."}}
{"actor":{"display_login":"ddobrev"}}