{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-webjobs-sdk/issues/1895","repository_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk","labels_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk/issues/1895/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk/issues/1895/comments","events_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk/issues/1895/events","html_url":"https://github.com/Azure/azure-webjobs-sdk/issues/1895","id":358919346,"node_id":"MDU6SXNzdWUzNTg5MTkzNDY=","number":1895,"title":"Excessive nuget dependencies for .NET 4.6.1","user":{"login":"carlmwright","id":26304283,"node_id":"MDQ6VXNlcjI2MzA0Mjgz","avatar_url":"https://avatars1.githubusercontent.com/u/26304283?v=4","gravatar_id":"","url":"https://api.github.com/users/carlmwright","html_url":"https://github.com/carlmwright","followers_url":"https://api.github.com/users/carlmwright/followers","following_url":"https://api.github.com/users/carlmwright/following{/other_user}","gists_url":"https://api.github.com/users/carlmwright/gists{/gist_id}","starred_url":"https://api.github.com/users/carlmwright/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlmwright/subscriptions","organizations_url":"https://api.github.com/users/carlmwright/orgs","repos_url":"https://api.github.com/users/carlmwright/repos","events_url":"https://api.github.com/users/carlmwright/events{/privacy}","received_events_url":"https://api.github.com/users/carlmwright/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-11T07:23:44Z","updated_at":"2018-09-11T08:00:42Z","closed_at":null,"author_association":"NONE","body":"I am currently attempting to update my webjobs packages from 2.0.0 to 2.2.0.\r\nThe project is a .NET 4.6.1 console app.\r\n\r\nWhen I update this I am presented with a large list of additional dependencies that need to be added:\r\n\r\nMicrosoft.Extensions.Logging.Abstractions 1.1.1\r\nMicrosoft.NETCore.Platforms 1.1.0\r\nMicrosoft.Win32.Primitives 4.3.0\r\nNETStandard.Library 1.6.1\r\nSystem.AppContext 4.3.0\r\nSystem.Collections 4.3.0\r\nSystem.Collections.Concurrent 4.3.0\r\nSystem.Console 4.3.0\r\nSystem.Diagnostics.Debug 4.3.0\r\nSystem.Diagnostics.DiagnosticSource 4.3.0\r\nSystem.Diagnostics.Tools 4.3.0\r\nSystem.Diagnostics.Tracing 4.3.0\r\nSystem.Globalization 4.3.0\r\nSystem.Globalization.Calendars 4.3.0\r\nSystem.IO 4.3.0\r\nSystem.IO.Compression 4.3.0\r\nSystem.IO.Compression.ZipFile 4.3.0\r\nSystem.IO.FileSystem 4.3.0\r\nSystem.IO.FileSystem.Primitives 4.3.0\r\nSystem.Linq 4.3.0\r\nSystem.Linq.Expressions 4.3.0\r\nSystem.Net.Http 4.3.0\r\nSystem.Net.Primitives 4.3.0\r\nSystem.Net.Sockets 4.3.0\r\nSystem.ObjectModel 4.3.0\r\nSystem.Reflection 4.3.0\r\nSystem.Reflection.Extensions 4.3.0\r\nSystem.Reflection.Primitives 4.3.0\r\nSystem.Resources.ResourceManager 4.3.0\r\nSystem.Runtime 4.3.0\r\nSystem.Runtime.Extensions 4.3.0\r\nSystem.Runtime.Handles 4.3.0\r\nSystem.Runtime.InteropServices 4.3.0\r\nSystem.Runtime.InteropServices.RuntimeInformation 4.3.0\r\nSystem.Runtime.Numerics 4.3.0\r\nSystem.Security.Cryptography.Algorithms 4.3.0\r\nSystem.Security.Cryptography.Encoding 4.3.0\r\nSystem.Security.Cryptography.Primitives 4.3.0\r\nSystem.Security.Cryptography.X509Certificates 4.3.0\r\nSystem.Text.Encoding 4.3.0\r\nSystem.Text.Encoding.Extensions 4.3.0\r\nSystem.Text.RegularExpressions 4.3.0\r\nSystem.Threading 4.3.0\r\nSystem.Threading.Tasks 4.3.0\r\nSystem.Threading.Timer 4.3.0\r\nSystem.Xml.ReaderWriter 4.3.0\r\nSystem.Xml.XDocument 4.3.0\r\n\r\nThis looks like complete nonsense to me as it appears to have the .NET standard library and .NET core libraries in there.\r\n\r\nIf I accept the licensing etc. these are all downloaded into my local package source but the majority of them are not added as reference (as expected, because they are framework things)\r\n\r\nThis also seems to be an issue with 2.1.0.\r\n\r\nInstalling 3..0.0 beta 8 does not have this issue, but this is not an option for us.\r\n\r\nI'm pretty sure that I can fix up the packages.config and it will all work, but I have a fair few webjobs that I will need to do this for.\r\n\r\nAlso worth noting is that our build server uses an internal repository and does not have access to nuget.org, so leaving them in there is not an option. Polluting our internal repository with unnecessary packages is also not an option.\r\n\r\nDoes anyone have any ideas?\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/Azure/azure-webjobs-sdk/issues/comments/420183865","html_url":"https://github.com/Azure/azure-webjobs-sdk/issues/1895#issuecomment-420183865","issue_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk/issues/1895","id":420183865,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDE4Mzg2NQ==","user":{"login":"carlmwright","id":26304283,"node_id":"MDQ6VXNlcjI2MzA0Mjgz","avatar_url":"https://avatars1.githubusercontent.com/u/26304283?v=4","gravatar_id":"","url":"https://api.github.com/users/carlmwright","html_url":"https://github.com/carlmwright","followers_url":"https://api.github.com/users/carlmwright/followers","following_url":"https://api.github.com/users/carlmwright/following{/other_user}","gists_url":"https://api.github.com/users/carlmwright/gists{/gist_id}","starred_url":"https://api.github.com/users/carlmwright/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlmwright/subscriptions","organizations_url":"https://api.github.com/users/carlmwright/orgs","repos_url":"https://api.github.com/users/carlmwright/repos","events_url":"https://api.github.com/users/carlmwright/events{/privacy}","received_events_url":"https://api.github.com/users/carlmwright/received_events","type":"User","site_admin":false},"created_at":"2018-09-11T08:00:42Z","updated_at":"2018-09-11T08:00:42Z","author_association":"NONE","body":"Ok, I've managed to figure this out now.\r\n\r\nIt's something to do with Microsoft.Extensions.Logging.Abstractions and its .NET standard dependency.\r\n\r\nIf I install that first, and then the WebJobs packages, then it only installs the WebJobs and WebJobs.Core packages.\r\n\r\nHopefully this might help someone else."}}
{"actor":{"display_login":"carlmwright"}}