{"action":"created","issue":{"url":"https://api.github.com/repos/projectkudu/kudu/issues/2028","repository_url":"https://api.github.com/repos/projectkudu/kudu","labels_url":"https://api.github.com/repos/projectkudu/kudu/issues/2028/labels{/name}","comments_url":"https://api.github.com/repos/projectkudu/kudu/issues/2028/comments","events_url":"https://api.github.com/repos/projectkudu/kudu/issues/2028/events","html_url":"https://github.com/projectkudu/kudu/issues/2028","id":157672552,"number":2028,"title":"Core RC2 Webjobs don't deploy via git","user":{"login":"ealsur","id":1633401,"avatar_url":"https://avatars.githubusercontent.com/u/1633401?v=3","gravatar_id":"","url":"https://api.github.com/users/ealsur","html_url":"https://github.com/ealsur","followers_url":"https://api.github.com/users/ealsur/followers","following_url":"https://api.github.com/users/ealsur/following{/other_user}","gists_url":"https://api.github.com/users/ealsur/gists{/gist_id}","starred_url":"https://api.github.com/users/ealsur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ealsur/subscriptions","organizations_url":"https://api.github.com/users/ealsur/orgs","repos_url":"https://api.github.com/users/ealsur/repos","events_url":"https://api.github.com/users/ealsur/events{/privacy}","received_events_url":"https://api.github.com/users/ealsur/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-05-31T13:33:01Z","updated_at":"2016-07-18T19:21:37Z","closed_at":"2016-07-17T10:30:42Z","body":"When deploying a Webjob that uses RC2 (Console App) through CI, containing a solution with more than 1 project (1 class library + 1 console) and I specify which Project to build (Application Configuration setting pointing to the Webjob xproj file), the packages don't get restored previously to the build.\r\n\r\nRepro repo: https://github.com/ealsur/WebjobRC2/\r\n\r\nThe portal output during deployment is:\r\n\r\n    Command: \"D:\\home\\site\\deployments\\tools\\deploy.cmd\"\r\n    Handling .NET Web Site deployment.\r\n      D:\\Program Files (x86)\\dotnet\\dotnet.exe build \"D:\\home\\site\\repository\\src\\ClassLibrary\" --configuration Debug --no-dependencies\r\n      Project ClassLibrary (.NETFramework,Version=v4.6.1) will be compiled because expected outputs are missing\r\n      Compiling ClassLibrary for .NETFramework,Version=v4.6.1\r\n      Compilation succeeded.\r\n          0 Warning(s)\r\n          0 Error(s)\r\n      Time elapsed 00:00:04.3499580\r\n   \r\n      D:\\Program Files (x86)\\dotnet\\dotnet.exe build \"D:\\home\\site\\repository\\src\\Webjob\" --configuration Debug --no-dependencies\r\n      Project Webjob (.NETFramework,Version=v4.6.1) will be compiled because expected outputs are missing\r\n      Compiling Webjob for .NETFramework,Version=v4.6.1\r\n      Compilation failed.\r\n          0 Warning(s)\r\n          11 Error(s)\r\n      Time elapsed 00:00:00.0150036\r\n    D:\\home\\site\\repository\\src\\Webjob\\project.json(9,39): error NU1001: The dependency Microsoft.Azure.WebJobs >= 1.1.0 could not be resolved. [D:\\home\\site\\repository\\src\\Webjob\\Webjob.xproj]\r\n    D:\\home\\site\\repository\\src\\Webjob\\project.json(9,39): error NU1001: The dependency Microsoft.Azure.WebJobs.Core 1.1.0 could not be resolved. [D:\\home\\site\\repository\\src\\Webjob\\Webjob.xproj]\r\n    D:\\home\\site\\repository\\src\\Webjob\\project.json(9,39): error NU1001: The dependency Microsoft.Data.Edm 5.6.2 could not be resolved. [D:\\home\\site\\repository\\src\\Webjob\\Webjob.xproj]\r\n    D:\\home\\site\\repository\\src\\Webjob\\project.json(9,39): error NU1001: The dependency Microsoft.Data.OData 5.6.2 could not be resolved. [D:\\home\\site\\repository\\src\\Webjob\\Webjob.xproj]\r\n    D:\\home\\site\\repository\\src\\Webjob\\project.json(9,39): error NU1001: The dependency Microsoft.Data.OData >= 5.6.2 could not be resolved. [D:\\home\\site\\repository\\src\\Webjob\\Webjob.xproj]\r\n    D:\\home\\site\\repository\\src\\Webjob\\project.json(9,39): error NU1001: The dependency Microsoft.Data.Services.Client >= 5.6.2 could not be resolved. [D:\\home\\site\\repository\\src\\Webjob\\Webjob.xproj]\r\n    D:\\home\\site\\repository\\src\\Webjob\\project.json(9,39): error NU1001: The dependency Microsoft.WindowsAzure.ConfigurationManager >= 1.8.0 could not be resolved. [D:\\home\\site\\repository\\src\\Webjob\\Webjob.xproj]\r\n    D:\\home\\site\\repository\\src\\Webjob\\project.json(9,39): error NU1001: The dependency Newtonsoft.Json >= 6.0.8 could not be resolved. [D:\\home\\site\\repository\\src\\Webjob\\Webjob.xproj]\r\n    D:\\home\\site\\repository\\src\\Webjob\\project.json(9,39): error NU1001: The dependency Newtonsoft.Json >= 5.0.8 could not be resolved. [D:\\home\\site\\repository\\src\\Webjob\\Webjob.xproj]\r\n    D:\\home\\site\\repository\\src\\Webjob\\project.json(9,39): error NU1001: The dependency System.Spatial 5.6.2 could not be resolved. [D:\\home\\site\\repository\\src\\Webjob\\Webjob.xproj]\r\n    D:\\home\\site\\repository\\src\\Webjob\\project.json(9,39): error NU1001: The dependency WindowsAzure.Storage >= 4.3.0 could not be resolved. [D:\\home\\site\\repository\\src\\Webjob\\Webjob.xproj]\r\n    Failed exitCode=1, command=\"D:\\Program Files (x86)\\MSBuild\\14.0\\Bin\\MSBuild.exe\" \"D:\\home\\site\\repository\\TestWebjobRC2.sln\" /verbosity:m /nologo\r\n    An error has occurred during web site deployment.\r\n    \\r\\nC:\\Program Files (x86)\\SiteExtensions\\Kudu\\55.50526.2249\\bin\\Scripts\\starter.cmd \"D:\\home\\site\\deployments\\tools\\deploy.cmd\"\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/projectkudu/kudu/issues/comments/233430730","html_url":"https://github.com/projectkudu/kudu/issues/2028#issuecomment-233430730","issue_url":"https://api.github.com/repos/projectkudu/kudu/issues/2028","id":233430730,"user":{"login":"ealsur","id":1633401,"avatar_url":"https://avatars.githubusercontent.com/u/1633401?v=3","gravatar_id":"","url":"https://api.github.com/users/ealsur","html_url":"https://github.com/ealsur","followers_url":"https://api.github.com/users/ealsur/followers","following_url":"https://api.github.com/users/ealsur/following{/other_user}","gists_url":"https://api.github.com/users/ealsur/gists{/gist_id}","starred_url":"https://api.github.com/users/ealsur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ealsur/subscriptions","organizations_url":"https://api.github.com/users/ealsur/orgs","repos_url":"https://api.github.com/users/ealsur/repos","events_url":"https://api.github.com/users/ealsur/events{/privacy}","received_events_url":"https://api.github.com/users/ealsur/received_events","type":"User","site_admin":false},"created_at":"2016-07-18T19:21:37Z","updated_at":"2016-07-18T19:21:37Z","body":"@davidebbo We tried without the CMD and we are unable to deploy. Using the same repo I had (it is now an RTM project https://github.com/ealsur/WebjobRC2), if I don't use the custom CMD file you created, Kudu picks it up a a \".NET Web Site\" and fails to restore packages. I manually added the `Project` setting on the Application Settings blade of the Web App pointing to the `Webjob.xproj`.\r\n\r\nIt does seem to build but does not seem to do a restore."}}
{"actor":{"display_login":"ealsur"}}