{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/coreclr/issues/1201","labels_url":"https://api.github.com/repos/dotnet/coreclr/issues/1201/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/coreclr/issues/1201/comments","events_url":"https://api.github.com/repos/dotnet/coreclr/issues/1201/events","html_url":"https://github.com/dotnet/coreclr/issues/1201","id":92735503,"number":1201,"title":"Pal_InitializeCoreCLR return ERROR_INVALID_PARAMETER when linking against release build ","user":{"login":"mholo65","id":7863439,"avatar_url":"https://avatars.githubusercontent.com/u/7863439?v=3","gravatar_id":"","url":"https://api.github.com/users/mholo65","html_url":"https://github.com/mholo65","followers_url":"https://api.github.com/users/mholo65/followers","following_url":"https://api.github.com/users/mholo65/following{/other_user}","gists_url":"https://api.github.com/users/mholo65/gists{/gist_id}","starred_url":"https://api.github.com/users/mholo65/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mholo65/subscriptions","organizations_url":"https://api.github.com/users/mholo65/orgs","repos_url":"https://api.github.com/users/mholo65/repos","events_url":"https://api.github.com/users/mholo65/events{/privacy}","received_events_url":"https://api.github.com/users/mholo65/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"mikem8361","id":10454379,"avatar_url":"https://avatars.githubusercontent.com/u/10454379?v=3","gravatar_id":"","url":"https://api.github.com/users/mikem8361","html_url":"https://github.com/mikem8361","followers_url":"https://api.github.com/users/mikem8361/followers","following_url":"https://api.github.com/users/mikem8361/following{/other_user}","gists_url":"https://api.github.com/users/mikem8361/gists{/gist_id}","starred_url":"https://api.github.com/users/mikem8361/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikem8361/subscriptions","organizations_url":"https://api.github.com/users/mikem8361/orgs","repos_url":"https://api.github.com/users/mikem8361/repos","events_url":"https://api.github.com/users/mikem8361/events{/privacy}","received_events_url":"https://api.github.com/users/mikem8361/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2015-07-02T21:06:04Z","updated_at":"2015-09-07T15:57:04Z","closed_at":null,"body":"I'm currently playing around with CoreCLR in Linux and linking my executable against libcoreclr. I've done this by creating some custom headers that declares functions **Pal_InitializeCoreCLR** and **GetCLRRuntimeHost** plus related structs, defines, etc..\r\n\r\nMy application is working fine when linking against the debug build of licoreclr. But when linking against the release build, then **Pal_InitializeCoreCLR** returns ERROR_INVALID_PARAMETER. Since I'm linking against the release build, I'm unable to debug and see what goes wrong inside libcoreclr.\r\n\r\nMy application is built in debug and I have debugger attached when executing.\r\n\r\nThankful for any help!"},"comment":{"url":"https://api.github.com/repos/dotnet/coreclr/issues/comments/138330211","html_url":"https://github.com/dotnet/coreclr/issues/1201#issuecomment-138330211","issue_url":"https://api.github.com/repos/dotnet/coreclr/issues/1201","id":138330211,"user":{"login":"mholo65","id":7863439,"avatar_url":"https://avatars.githubusercontent.com/u/7863439?v=3","gravatar_id":"","url":"https://api.github.com/users/mholo65","html_url":"https://github.com/mholo65","followers_url":"https://api.github.com/users/mholo65/followers","following_url":"https://api.github.com/users/mholo65/following{/other_user}","gists_url":"https://api.github.com/users/mholo65/gists{/gist_id}","starred_url":"https://api.github.com/users/mholo65/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mholo65/subscriptions","organizations_url":"https://api.github.com/users/mholo65/orgs","repos_url":"https://api.github.com/users/mholo65/repos","events_url":"https://api.github.com/users/mholo65/events{/privacy}","received_events_url":"https://api.github.com/users/mholo65/received_events","type":"User","site_admin":false},"created_at":"2015-09-07T15:57:04Z","updated_at":"2015-09-07T15:57:04Z","body":"I used the DNX nupkg (beta6-something), so it should have contained correct mscorlib.dll. This was however a time ago, I will try to find time to verify this in a near future."}}