{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/4831","repository_url":"https://api.github.com/repos/Microsoft/vsts-tasks","labels_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/4831/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/4831/comments","events_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/4831/events","html_url":"https://github.com/Microsoft/vsts-tasks/issues/4831","id":244215736,"number":4831,"title":"VSTS Can't build vanilla ASP.NET Core web project","user":{"login":"Allann","id":2005474,"avatar_url":"https://avatars1.githubusercontent.com/u/2005474?v=4","gravatar_id":"","url":"https://api.github.com/users/Allann","html_url":"https://github.com/Allann","followers_url":"https://api.github.com/users/Allann/followers","following_url":"https://api.github.com/users/Allann/following{/other_user}","gists_url":"https://api.github.com/users/Allann/gists{/gist_id}","starred_url":"https://api.github.com/users/Allann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Allann/subscriptions","organizations_url":"https://api.github.com/users/Allann/orgs","repos_url":"https://api.github.com/users/Allann/repos","events_url":"https://api.github.com/users/Allann/events{/privacy}","received_events_url":"https://api.github.com/users/Allann/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-20T00:54:33Z","updated_at":"2017-07-20T01:01:41Z","closed_at":null,"body":"We were hoping to move to VSTS instead on TFS On-prem, but we have hit a huge roadblock I can't believe no-one else has.  Hence I am wondering what I have done wrong and need help to sort it out.\r\n\r\nI have vanilla ASP.Net Core web project created by VS2017 15.2 (26430.16). Attached the solution in a zip file.\r\n[WebApplication1.zip](https://github.com/Microsoft/vsts-tasks/files/1160840/WebApplication1.zip)\r\n\r\nThis is the error returned by the build \r\n> 2 error(s), 1 warning(s)\r\n> --\r\n> Build - 2 error(s), 1 warning(s)\r\n> C:\\Program Files   (x86)\\Microsoft Visual   Studio\\2017\\Enterprise\\MSBuild\\Sdks\\Microsoft.NET.Sdk.Publish\\build\\netstandard1.0\\PublishTargets\\Microsoft.NET.Sdk.Publish.MSDeployPackage.targets(124):C:\\Program   Files (x86)\\Microsoft Visual   Studio\\2017\\Enterprise\\MSBuild\\Sdks\\Microsoft.NET.Sdk.Publish\\build\\netstandard1.0\\PublishTargets\\Microsoft.NET.Sdk.Publish.MSDeployPackage.targets(124,7):   Error MSB4184: The expression \"[System.IO.Path]::GetDirectoryName('')\"   cannot be evaluated. The path is not of a legal form.\r\n> Process   'msbuild.exe' exited with code '1'.\r\n> \r\n\r\nI have attached the log from the last build too:\r\n[logs_92.zip](https://github.com/Microsoft/vsts-tasks/files/1160844/logs_92.zip)\r\n\r\nIt uses the Hosted agent instead of our local build agent as I thought it might be something we had setup wrong, but that didn't work either."},"comment":{"url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/comments/316566105","html_url":"https://github.com/Microsoft/vsts-tasks/issues/4831#issuecomment-316566105","issue_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/4831","id":316566105,"user":{"login":"bryanmacfarlane","id":919564,"avatar_url":"https://avatars3.githubusercontent.com/u/919564?v=4","gravatar_id":"","url":"https://api.github.com/users/bryanmacfarlane","html_url":"https://github.com/bryanmacfarlane","followers_url":"https://api.github.com/users/bryanmacfarlane/followers","following_url":"https://api.github.com/users/bryanmacfarlane/following{/other_user}","gists_url":"https://api.github.com/users/bryanmacfarlane/gists{/gist_id}","starred_url":"https://api.github.com/users/bryanmacfarlane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryanmacfarlane/subscriptions","organizations_url":"https://api.github.com/users/bryanmacfarlane/orgs","repos_url":"https://api.github.com/users/bryanmacfarlane/repos","events_url":"https://api.github.com/users/bryanmacfarlane/events{/privacy}","received_events_url":"https://api.github.com/users/bryanmacfarlane/received_events","type":"User","site_admin":false},"created_at":"2017-07-20T01:01:41Z","updated_at":"2017-07-20T01:01:41Z","body":"Can you confirm which queue you are using?  Hosted Pool or VS2017 Hosted Pool?  From log it looks like latter.\r\n\r\nAlso as a troubleshooting step, have you tried with a private agent?  Wondering if it's because hosted image is 15.1 and you have a 15.2 project??"}}
{"actor":{"display_login":"bryanmacfarlane"}}