{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/cli/issues/4055","repository_url":"https://api.github.com/repos/dotnet/cli","labels_url":"https://api.github.com/repos/dotnet/cli/issues/4055/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/cli/issues/4055/comments","events_url":"https://api.github.com/repos/dotnet/cli/issues/4055/events","html_url":"https://github.com/dotnet/cli/issues/4055","id":171594496,"number":4055,"title":"Problems with publish on TeamCity after upgrade from RC2 to RTM","user":{"login":"galczo5","id":6080725,"avatar_url":"https://avatars.githubusercontent.com/u/6080725?v=3","gravatar_id":"","url":"https://api.github.com/users/galczo5","html_url":"https://github.com/galczo5","followers_url":"https://api.github.com/users/galczo5/followers","following_url":"https://api.github.com/users/galczo5/following{/other_user}","gists_url":"https://api.github.com/users/galczo5/gists{/gist_id}","starred_url":"https://api.github.com/users/galczo5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/galczo5/subscriptions","organizations_url":"https://api.github.com/users/galczo5/orgs","repos_url":"https://api.github.com/users/galczo5/repos","events_url":"https://api.github.com/users/galczo5/events{/privacy}","received_events_url":"https://api.github.com/users/galczo5/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-17T07:44:19Z","updated_at":"2016-08-17T08:53:51Z","closed_at":null,"body":"Hi,\r\nAfter upgrade from RC2 to RTM one of build steps on my TeamCity server fails. From VisualStudio 2015 Upgrade 3 and local console all works well (again).\r\n\r\nBuild step simply calls command \"dotnet publish\". Here is output:\r\n```\r\nPS C:\\TeamCity\\buildAgent\\work\\f8fd7ed80db7afa9\\Flexi.ClosingProcess\\src\\Flexi.ClosingProcess> dotnet publish\r\nPublishing Flexi.ClosingProcess for .NETFramework,Version=v4.6.1/win7-x64\r\nnpm WARN package.json ASP.NET@0.0.0 No description\r\nnpm WARN package.json ASP.NET@0.0.0 No repository field.\r\nnpm WARN package.json ASP.NET@0.0.0 No README data\r\nnpm WARN package.json ASP.NET@0.0.0 No license field.\r\nbower                     invalid-meta The \"name\" is recommended to be lowercase, can contain digits, dots, dashes\r\n[14:23:52] Warning: gulp version mismatch:\r\n[14:23:52] Global gulp is 3.9.1\r\n[14:23:52] Local gulp is 3.8.11\r\n[14:23:53] Using gulpfile C:\\TeamCity\\buildAgent\\work\\f8fd7ed80db7afa9\\Flexi.ClosingProcess\\src\\Flexi.ClosingProcess\\gul\r\npfile.js\r\n[14:23:53] Starting 'clean:js'...\r\n[14:23:53] Starting 'clean:css'...\r\n[14:23:53] Finished 'clean:js' after 2.77 ms\r\n[14:23:53] Finished 'clean:css' after 2.53 ms\r\n[14:23:53] Starting 'clean'...\r\n[14:23:53] Finished 'clean' after 12 ╬╝s\r\n[14:23:54] Warning: gulp version mismatch:\r\n[14:23:54] Global gulp is 3.9.1\r\n[14:23:54] Local gulp is 3.8.11\r\n[14:23:55] Using gulpfile C:\\TeamCity\\buildAgent\\work\\f8fd7ed80db7afa9\\Flexi.ClosingProcess\\src\\Flexi.ClosingProcess\\gul\r\npfile.js\r\n[14:23:55] Starting 'copy:js'...\r\n[14:23:55] Starting 'copy:css'...\r\n[14:23:55] Starting 'copy:fonts'...\r\n[14:23:55] Finished 'copy:fonts' after 447 ms\r\n[14:23:55] Finished 'copy:css' after 470 ms\r\n[14:23:55] Finished 'copy:js' after 522 ms\r\n[14:23:55] Starting 'copy'...\r\n[14:23:55] Finished 'copy' after 23 ╬╝s\r\n[14:23:56] Warning: gulp version mismatch:\r\n[14:23:56] Global gulp is 3.9.1\r\n[14:23:56] Local gulp is 3.8.11\r\n[14:23:57] Using gulpfile C:\\TeamCity\\buildAgent\\work\\f8fd7ed80db7afa9\\Flexi.ClosingProcess\\src\\Flexi.ClosingProcess\\gul\r\npfile.js\r\n[14:23:57] Starting 'min:js'...\r\n[14:23:57] Starting 'min:css'...\r\n[14:24:17] Finished 'min:css' after 20 s\r\n[14:24:18] Finished 'min:js' after 21 s\r\n[14:24:18] Starting 'min'...\r\n[14:24:18] Finished 'min' after 22 ╬╝s\r\nProject Flexi.Common (.NETFramework,Version=v4.6.1) was previously compiled. Skipping compilation.\r\nProject Flexi.Common.Web (.NETFramework,Version=v4.6.1) was previously compiled. Skipping compilation.\r\nObject reference not set to an instance of an object.\r\nPublished 0/1 projects successfully\r\nPS C:\\TeamCity\\buildAgent\\work\\f8fd7ed80db7afa9\\Flexi.ClosingProcess\\src\\Flexi.ClosingProcess>\r\n```\r\n\r\nHere is my project.json file:\r\n```\r\n{\r\n  \"userSecretsId\": \"aspnet5-Flexi.ClosingProcess-f0571c58-86b8-4c54-8746-3773454ca9ba\",\r\n  \"version\": \"1.0.0-*\",\r\n  \"dependencies\": {\r\n    \"AutoMapper\": \"5.0.2\",\r\n    \"Microsoft.AspNet.WebApi.Client\": \"5.2.3\",\r\n    \"Microsoft.AspNetCore.Authentication.Cookies\": \"1.0.0\",\r\n    \"Microsoft.AspNetCore.Diagnostics\": \"1.0.0\",\r\n    \"Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore\": \"1.0.0\",\r\n    \"Microsoft.AspNetCore.Identity.EntityFrameworkCore\": \"1.0.0\",\r\n    \"Microsoft.AspNetCore.Mvc\": \"1.0.0\",\r\n    \"Microsoft.DotNet.Cli.Utils\": \"1.0.0-preview2-003121\",\r\n    \"Microsoft.EntityFrameworkCore.Design.Core\": \"1.0.0-preview2-final\",\r\n    \"Microsoft.EntityFrameworkCore.Tools\": \"1.0.0-preview2-final\",\r\n    \"Microsoft.AspNetCore.Razor.Tools\": \"1.0.0-preview2-final\",\r\n    \"Microsoft.AspNetCore.Server.IISIntegration\": \"1.0.0\",\r\n    \"Microsoft.AspNetCore.Server.Kestrel\": \"1.0.0\",\r\n    \"Microsoft.AspNetCore.Session\": \"1.0.0\",\r\n    \"Microsoft.Extensions.Caching.Memory\": \"1.0.0\",\r\n    \"Microsoft.Extensions.Options.ConfigurationExtensions\": \"1.0.0\",\r\n    \"Microsoft.AspNetCore.StaticFiles\": \"1.0.0\",\r\n    \"Microsoft.EntityFrameworkCore.SqlServer\": \"1.0.0\",\r\n    \"Microsoft.Extensions.Configuration.EnvironmentVariables\": \"1.0.0\",\r\n    \"Microsoft.Extensions.Configuration.Json\": \"1.0.0\",\r\n    \"Microsoft.Extensions.Configuration.UserSecrets\": \"1.0.0\",\r\n    \"Microsoft.Extensions.Logging\": \"1.0.0\",\r\n    \"Microsoft.Extensions.Logging.Abstractions\": \"1.0.0\",\r\n    \"Microsoft.Extensions.Logging.Console\": \"1.0.0\",\r\n    \"Microsoft.Extensions.Logging.Debug\": \"1.0.0\",\r\n    \"Microsoft.VisualStudio.Web.BrowserLink.Loader\": \"14.0.0\",\r\n    \"Microsoft.VisualStudio.Web.CodeGeneration.Tools\": \"1.0.0-preview2-final\",\r\n    \"Microsoft.VisualStudio.Web.CodeGenerators.Mvc\": \"1.0.0-preview2-final\",\r\n    \"morelinq\": \"1.4.0\",\r\n    \"NLog.Extensions.Logging\": \"1.0.0-rtm-alpha4\",\r\n    \"Flexi.Common\": \"1.0.0-*\",\r\n    \"Flexi.Common.Web\": \"1.0.0-*\",\r\n    \"Flexi.CoreServer.IntegrationNetCore.Users\": \"1.0.0-*\",\r\n    \"Microsoft.CodeAnalysis.CSharp.Workspaces\": \"1.3.2\",\r\n    \"Serilog.Extensions.Logging\": \"1.2.0\",\r\n    \"Serilog.Sinks.File\": \"2.2.0\"\r\n  },\r\n  \"frameworks\": {\r\n    \"net461\": {\r\n      \"dependencies\": {\r\n        \"Flexi.ClosingProcess.Notifications.Shared\": {\r\n          \"target\": \"project\"\r\n        }\r\n      }\r\n    }\r\n  },\r\n  \"buildOptions\": {\r\n    \"emitEntryPoint\": true,\r\n    \"preserveCompilationContext\": true\r\n  },\r\n  \"publishOptions\": {\r\n    \"include\": [\r\n      \"wwwroot\",\r\n      \"Views\",\r\n      \"appsettings.json\",\r\n      \"web.config\"\r\n    ]\r\n  },\r\n  \"tools\": {\r\n    \"BundlerMinifier.Core\": \"2.0.238\",\r\n    \"Microsoft.AspNetCore.Razor.Tools\": {\r\n      \"version\": \"1.0.0-preview2-final\",\r\n      \"imports\": [\r\n        \"netstandard1.6\",\r\n        \"portable-net45+win8+dnxcore50\"\r\n      ]\r\n    },\r\n    \"Microsoft.AspNetCore.Server.IISIntegration.Tools\": {\r\n      \"version\": \"1.0.0-preview2-final\",\r\n      \"imports\": [\r\n        \"netstandard1.6\",\r\n        \"portable-net45+win8+dnxcore50\"\r\n      ]\r\n    },\r\n    \"Microsoft.EntityFrameworkCore.Tools\": {\r\n      \"version\": \"1.0.0-preview2-final\",\r\n      \"imports\": [\r\n        \"netstandard1.6\",\r\n        \"portable-net45+win8+dnxcore50\"\r\n      ]\r\n    },\r\n    \"Microsoft.Extensions.SecretManager.Tools\": \"1.0.0-preview2-final\",\r\n    \"Microsoft.VisualStudio.Web.CodeGeneration.Tools\": {\r\n      \"version\": \"1.0.0-preview2-final\",\r\n      \"imports\": [\r\n        \"portable-net45+win8+dnxcore50\",\r\n        \"portable-net45+win8\",\r\n        \"netstandard1.6\"\r\n      ]\r\n    }\r\n  },\r\n  \"scripts\": {\r\n    \"prepublish\": [ \"npm install\", \"bower install\", \"gulp clean\", \"gulp copy\", \"gulp min\" ],\r\n    \"postpublish\": \"dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%\"\r\n  },\r\n  \"runtimeOptions\": {\r\n    \"configProperties\": {\r\n      \"System.GC.Server\": true\r\n    }\r\n  },\r\n  \"configurations\": {\r\n    \"CPDeployment\": { }\r\n  }\r\n}\r\n\r\n```\r\n\r\ndotnet --info\r\n```\r\nPS C:\\Users\\teamcity> dotnet --info\r\n.NET Command Line Tools (1.0.0-preview2-003121)\r\n\r\nProduct Information:\r\n Version:            1.0.0-preview2-003121\r\n Commit SHA-1 hash:  1e9d529bc5\r\n\r\nRuntime Environment:\r\n OS Name:     Windows\r\n OS Version:  6.3.9600\r\n OS Platform: Windows\r\n RID:         win81-x64\r\nPS C:\\Users\\teamcity>\r\n```"},"comment":{"url":"https://api.github.com/repos/dotnet/cli/issues/comments/240352873","html_url":"https://github.com/dotnet/cli/issues/4055#issuecomment-240352873","issue_url":"https://api.github.com/repos/dotnet/cli/issues/4055","id":240352873,"user":{"login":"galczo5","id":6080725,"avatar_url":"https://avatars.githubusercontent.com/u/6080725?v=3","gravatar_id":"","url":"https://api.github.com/users/galczo5","html_url":"https://github.com/galczo5","followers_url":"https://api.github.com/users/galczo5/followers","following_url":"https://api.github.com/users/galczo5/following{/other_user}","gists_url":"https://api.github.com/users/galczo5/gists{/gist_id}","starred_url":"https://api.github.com/users/galczo5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/galczo5/subscriptions","organizations_url":"https://api.github.com/users/galczo5/orgs","repos_url":"https://api.github.com/users/galczo5/repos","events_url":"https://api.github.com/users/galczo5/events{/privacy}","received_events_url":"https://api.github.com/users/galczo5/received_events","type":"User","site_admin":false},"created_at":"2016-08-17T08:53:51Z","updated_at":"2016-08-17T08:53:51Z","body":"I removed configurations section, nothing changed. \r\n`dotnet -v publish` output:\r\n```\r\nPS C:\\TeamCity\\buildAgent\\work\\f8fd7ed80db7afa9\\Flexi.ClosingProcess\\src\\Flexi.ClosingProcess> dotnet -v publish\r\nTelemetry is: Enabled\r\nPublishing Flexi.ClosingProcess for .NETFramework,Version=v4.6.1/win7-x64\r\nRunning C:\\Windows\\system32\\cmd.exe /s /c \"\"C:\\Program Files\\nodejs\\npm.cmd\" ^i^n^s^t^a^l^l\"\r\nProcess ID: 4756\r\nnpm WARN package.json ASP.NET@0.0.0 No description\r\nnpm WARN package.json ASP.NET@0.0.0 No repository field.\r\nnpm WARN package.json ASP.NET@0.0.0 No README data\r\nnpm WARN package.json ASP.NET@0.0.0 No license field.\r\nRunning C:\\Windows\\system32\\cmd.exe /s /c \"C:\\Users\\teamcity\\AppData\\Roaming\\npm\\bower.cmd ^i^n^s^t^a^l^l\"\r\nProcess ID: 3000\r\nbower                     invalid-meta The \"name\" is recommended to be lowercase, can contain digits, dots, dashes\r\nRunning C:\\Windows\\system32\\cmd.exe /s /c \"C:\\Users\\teamcity\\AppData\\Roaming\\npm\\gulp.cmd ^c^l^e^a^n\"\r\nProcess ID: 4040\r\n[10:52:15] Warning: gulp version mismatch:\r\n[10:52:15] Global gulp is 3.9.1\r\n[10:52:15] Local gulp is 3.8.11\r\n[10:52:16] Using gulpfile C:\\TeamCity\\buildAgent\\work\\f8fd7ed80db7afa9\\Flexi.ClosingProcess\\src\\Flexi.ClosingProcess\\gul\r\npfile.js\r\n[10:52:16] Starting 'clean:js'...\r\n[10:52:16] Starting 'clean:css'...\r\n[10:52:16] Finished 'clean:js' after 2.45 ms\r\n[10:52:16] Finished 'clean:css' after 2.14 ms\r\n[10:52:16] Starting 'clean'...\r\n[10:52:16] Finished 'clean' after 14 ╬╝s\r\nRunning C:\\Windows\\system32\\cmd.exe /s /c \"C:\\Users\\teamcity\\AppData\\Roaming\\npm\\gulp.cmd ^c^o^p^y\"\r\nProcess ID: 1168\r\n[10:52:16] Warning: gulp version mismatch:\r\n[10:52:16] Global gulp is 3.9.1\r\n[10:52:16] Local gulp is 3.8.11\r\n[10:52:17] Using gulpfile C:\\TeamCity\\buildAgent\\work\\f8fd7ed80db7afa9\\Flexi.ClosingProcess\\src\\Flexi.ClosingProcess\\gul\r\npfile.js\r\n[10:52:17] Starting 'copy:js'...\r\n[10:52:17] Starting 'copy:css'...\r\n[10:52:17] Starting 'copy:fonts'...\r\n[10:52:17] Finished 'copy:fonts' after 454 ms\r\n[10:52:18] Finished 'copy:css' after 481 ms\r\n[10:52:18] Finished 'copy:js' after 521 ms\r\n[10:52:18] Starting 'copy'...\r\n[10:52:18] Finished 'copy' after 21 ╬╝s\r\nRunning C:\\Windows\\system32\\cmd.exe /s /c \"C:\\Users\\teamcity\\AppData\\Roaming\\npm\\gulp.cmd ^m^i^n\"\r\nProcess ID: 3024\r\n[10:52:18] Warning: gulp version mismatch:\r\n[10:52:18] Global gulp is 3.9.1\r\n[10:52:18] Local gulp is 3.8.11\r\n[10:52:19] Using gulpfile C:\\TeamCity\\buildAgent\\work\\f8fd7ed80db7afa9\\Flexi.ClosingProcess\\src\\Flexi.ClosingProcess\\gul\r\npfile.js\r\n[10:52:19] Starting 'min:js'...\r\n[10:52:19] Starting 'min:css'...\r\n[10:52:39] Finished 'min:css' after 20 s\r\n[10:52:40] Finished 'min:js' after 21 s\r\n[10:52:40] Starting 'min'...\r\n[10:52:40] Finished 'min' after 21 ╬╝s\r\nProject Flexi.Common (.NETFramework,Version=v4.6.1) was previously compiled. Skipping compilation.\r\nProject Flexi.Common.Web (.NETFramework,Version=v4.6.1) was previously compiled. Skipping compilation.\r\nObject reference not set to an instance of an object.\r\nPublished 0/1 projects successfully\r\nPS C:\\TeamCity\\buildAgent\\work\\f8fd7ed80db7afa9\\Flexi.ClosingProcess\\src\\Flexi.ClosingProcess>\r\n```\r\n"}}
{"actor":{"display_login":"galczo5"}}