{"action":"created","issue":{"url":"https://api.github.com/repos/RSuter/NSwag/issues/1573","repository_url":"https://api.github.com/repos/RSuter/NSwag","labels_url":"https://api.github.com/repos/RSuter/NSwag/issues/1573/labels{/name}","comments_url":"https://api.github.com/repos/RSuter/NSwag/issues/1573/comments","events_url":"https://api.github.com/repos/RSuter/NSwag/issues/1573/events","html_url":"https://github.com/RSuter/NSwag/issues/1573","id":356681888,"node_id":"MDU6SXNzdWUzNTY2ODE4ODg=","number":1573,"title":"Assembly parameter value for nswag aspnetcore2swagger command ","user":{"login":"older","id":1029802,"node_id":"MDQ6VXNlcjEwMjk4MDI=","avatar_url":"https://avatars1.githubusercontent.com/u/1029802?v=4","gravatar_id":"","url":"https://api.github.com/users/older","html_url":"https://github.com/older","followers_url":"https://api.github.com/users/older/followers","following_url":"https://api.github.com/users/older/following{/other_user}","gists_url":"https://api.github.com/users/older/gists{/gist_id}","starred_url":"https://api.github.com/users/older/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/older/subscriptions","organizations_url":"https://api.github.com/users/older/orgs","repos_url":"https://api.github.com/users/older/repos","events_url":"https://api.github.com/users/older/events{/privacy}","received_events_url":"https://api.github.com/users/older/received_events","type":"User","site_admin":false},"labels":[{"id":668580060,"node_id":"MDU6TGFiZWw2Njg1ODAwNjA=","url":"https://api.github.com/repos/RSuter/NSwag/labels/priority:%20high","name":"priority: high","color":"b60205","default":false},{"id":675992197,"node_id":"MDU6TGFiZWw2NzU5OTIxOTc=","url":"https://api.github.com/repos/RSuter/NSwag/labels/state:%20await-repro","name":"state: await-repro","color":"1d76db","default":false},{"id":255705718,"node_id":"MDU6TGFiZWwyNTU3MDU3MTg=","url":"https://api.github.com/repos/RSuter/NSwag/labels/type:%20bug","name":"type: bug","color":"d93f0b","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-09-04T07:19:26Z","updated_at":"2018-09-07T11:15:13Z","closed_at":null,"author_association":"NONE","body":"I'm trying to use latest version of nswag (11.18.7 at the moment) from msbuild in asp.net core project (netcoreapp2.1) and aspnetcore2swagger command just doesn't work. Error is always **System.IO.FileNotFoundException** no matter if I use full assembly path, relative path from project folder or just assembly name. I'm using it the way it is recommended in the documentation for .NET Core projects:\r\n\r\n```\r\n  <Target Name=\"NSwag\" AfterTargets=\"Build\">\r\n    <Copy SourceFiles=\"@(ReferencePath)\" DestinationFolder=\"$(OutDir)References\" />\r\n    <Message Importance=\"high\" Text=\"Run '$(NSwagExe_Core21) aspnetcore2swagger /assembly:$(OutDir)$(AssemblyName).dll'\" />\r\n    <Exec Command=\"$(NSwagExe_Core21) aspnetcore2swagger /assembly:$(OutDir)$(AssemblyName).dll\" />\r\n    <RemoveDir Directories=\"$(OutDir)References\" />\r\n  </Target>\r\n```\r\n\r\nIf I just replace **aspnetcore2swagger** command with **webapi2swagger** without making any other changes - it works perfectly.\r\n"},"comment":{"url":"https://api.github.com/repos/RSuter/NSwag/issues/comments/419408268","html_url":"https://github.com/RSuter/NSwag/issues/1573#issuecomment-419408268","issue_url":"https://api.github.com/repos/RSuter/NSwag/issues/1573","id":419408268,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTQwODI2OA==","user":{"login":"older","id":1029802,"node_id":"MDQ6VXNlcjEwMjk4MDI=","avatar_url":"https://avatars1.githubusercontent.com/u/1029802?v=4","gravatar_id":"","url":"https://api.github.com/users/older","html_url":"https://github.com/older","followers_url":"https://api.github.com/users/older/followers","following_url":"https://api.github.com/users/older/following{/other_user}","gists_url":"https://api.github.com/users/older/gists{/gist_id}","starred_url":"https://api.github.com/users/older/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/older/subscriptions","organizations_url":"https://api.github.com/users/older/orgs","repos_url":"https://api.github.com/users/older/repos","events_url":"https://api.github.com/users/older/events{/privacy}","received_events_url":"https://api.github.com/users/older/received_events","type":"User","site_admin":false},"created_at":"2018-09-07T11:15:13Z","updated_at":"2018-09-07T11:15:13Z","author_association":"NONE","body":"1. Here's sample project: [aspnetcore2swagger.zip](https://github.com/RSuter/NSwag/files/2360744/aspnetcore2swagger.zip) demonstrating error with _/assembly_ parameter.\r\n\r\n1. Strangely enough, while _/project_ parameter worked when I built it in Visual Studio, it didn't work in VSTS build and I've got this:\r\n```\r\nSystem.InvalidOperationException: Project outputs could not be located in 'D:\\a\\1\\s\\src\\MyProject\\bin\\Debug\\netcoreapp2.1\\'. Ensure that the project has been built.\r\n```\r\nHere's relevant part of VSTS log: [vsts.log](https://github.com/RSuter/NSwag/files/2360767/vsts.log)\r\n"}}
{"actor":{"display_login":"older"}}