{"action":"closed","issue":{"url":"https://api.github.com/repos/0xd4d/dnlib/issues/88","repository_url":"https://api.github.com/repos/0xd4d/dnlib","labels_url":"https://api.github.com/repos/0xd4d/dnlib/issues/88/labels{/name}","comments_url":"https://api.github.com/repos/0xd4d/dnlib/issues/88/comments","events_url":"https://api.github.com/repos/0xd4d/dnlib/issues/88/events","html_url":"https://github.com/0xd4d/dnlib/issues/88","id":197302198,"number":88,"title":"How to correctly resolve types when editing .NET Core assembly?","user":{"login":"nictaylr","id":22607541,"avatar_url":"https://avatars.githubusercontent.com/u/22607541?v=3","gravatar_id":"","url":"https://api.github.com/users/nictaylr","html_url":"https://github.com/nictaylr","followers_url":"https://api.github.com/users/nictaylr/followers","following_url":"https://api.github.com/users/nictaylr/following{/other_user}","gists_url":"https://api.github.com/users/nictaylr/gists{/gist_id}","starred_url":"https://api.github.com/users/nictaylr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nictaylr/subscriptions","organizations_url":"https://api.github.com/users/nictaylr/orgs","repos_url":"https://api.github.com/users/nictaylr/repos","events_url":"https://api.github.com/users/nictaylr/events{/privacy}","received_events_url":"https://api.github.com/users/nictaylr/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-23T02:09:10Z","updated_at":"2016-12-30T17:50:22Z","closed_at":"2016-12-30T17:50:22Z","body":"I'm editing a .NET Core assembly from a program running on .NET 4.6.\r\nHowever, when I use `typeof(SomeBuiltinType)` and inject that into the .NET Core assembly, and I run the assembly, I get a Type not found issue. Obviously the type's in a different assembly or something because it's not found,, but I don't know how to get it to choose the intended type.\r\n\r\nHow could I get code referencing a type (let's say `System.Environment`) into a .NET Core assembly without breaking the .NET Core references?\r\n\r\nMy actual editing program runs on standard .NET Framework 4.6"}}
{"actor":{"display_login":"0xd4d"}}