{"action":"created","issue":{"url":"https://api.github.com/repos/RSuter/NSwag/issues/1173","repository_url":"https://api.github.com/repos/RSuter/NSwag","labels_url":"https://api.github.com/repos/RSuter/NSwag/issues/1173/labels{/name}","comments_url":"https://api.github.com/repos/RSuter/NSwag/issues/1173/comments","events_url":"https://api.github.com/repos/RSuter/NSwag/issues/1173/events","html_url":"https://github.com/RSuter/NSwag/issues/1173","id":293754098,"number":1173,"title":"macOS nswag webapi2swagger errors with System.IO.FileNotFoundException","user":{"login":"lmdg","id":7308576,"avatar_url":"https://avatars1.githubusercontent.com/u/7308576?v=4","gravatar_id":"","url":"https://api.github.com/users/lmdg","html_url":"https://github.com/lmdg","followers_url":"https://api.github.com/users/lmdg/followers","following_url":"https://api.github.com/users/lmdg/following{/other_user}","gists_url":"https://api.github.com/users/lmdg/gists{/gist_id}","starred_url":"https://api.github.com/users/lmdg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmdg/subscriptions","organizations_url":"https://api.github.com/users/lmdg/orgs","repos_url":"https://api.github.com/users/lmdg/repos","events_url":"https://api.github.com/users/lmdg/events{/privacy}","received_events_url":"https://api.github.com/users/lmdg/received_events","type":"User","site_admin":false},"labels":[{"id":255705723,"url":"https://api.github.com/repos/RSuter/NSwag/labels/question","name":"question","color":"eb6420","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-02-02T02:37:36Z","updated_at":"2018-02-06T16:00:27Z","closed_at":null,"author_association":"NONE","body":"Hi there,\r\nI'm on a mac with dotnet 2.1.4 installed. I publish my app with\r\n`dotnet publish --self-contained -r osx-x64 -c Release -o ./release ./MyApi`\r\n(I've also tried specifying the `linux-x64` runtime). Then I run\r\n`nswag webapi2swagger /assembly:MyApi.dll /output:TestSwag.json /runtime:NetCore20`\r\n(I've also tried specifying the referencePaths to <user>/.nuget/packages) But it always errors with\r\n```\r\nSystem.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.AspNetCore.Mvc.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the path specified.\r\n```\r\nI can see that dll is in the folder from which I run nswag so I don't know what's going on or how to direct it to find the file. Thanks so much for the help in advance, really grateful to have found this project, just need to get past this last thing.\r\n"},"comment":{"url":"https://api.github.com/repos/RSuter/NSwag/issues/comments/363468794","html_url":"https://github.com/RSuter/NSwag/issues/1173#issuecomment-363468794","issue_url":"https://api.github.com/repos/RSuter/NSwag/issues/1173","id":363468794,"user":{"login":"lmdg","id":7308576,"avatar_url":"https://avatars1.githubusercontent.com/u/7308576?v=4","gravatar_id":"","url":"https://api.github.com/users/lmdg","html_url":"https://github.com/lmdg","followers_url":"https://api.github.com/users/lmdg/followers","following_url":"https://api.github.com/users/lmdg/following{/other_user}","gists_url":"https://api.github.com/users/lmdg/gists{/gist_id}","starred_url":"https://api.github.com/users/lmdg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmdg/subscriptions","organizations_url":"https://api.github.com/users/lmdg/orgs","repos_url":"https://api.github.com/users/lmdg/repos","events_url":"https://api.github.com/users/lmdg/events{/privacy}","received_events_url":"https://api.github.com/users/lmdg/received_events","type":"User","site_admin":false},"created_at":"2018-02-06T16:00:27Z","updated_at":"2018-02-06T16:00:27Z","author_association":"NONE","body":"I just updated my npm nswag package to 11.13.3 and tried again (also with `/referencePaths:~/.nuget/packages`) but unfortunately still got the same error (can't find `Microsoft.AspNetCore.Mvc.Core, Version=2.0.0.0`) on mac. Thanks again for the quick response and help, I know it's difficult to manage all of these platforms."}}
{"actor":{"display_login":"lmdg"}}