{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/docs/issues/8368","repository_url":"https://api.github.com/repos/dotnet/docs","labels_url":"https://api.github.com/repos/dotnet/docs/issues/8368/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/docs/issues/8368/comments","events_url":"https://api.github.com/repos/dotnet/docs/issues/8368/events","html_url":"https://github.com/dotnet/docs/issues/8368","id":370281994,"node_id":"MDU6SXNzdWUzNzAyODE5OTQ=","number":8368,"title":"SDK Project Packaging Shouldn't be Recommended Yet","user":{"login":"CoolDadTx","id":3778674,"node_id":"MDQ6VXNlcjM3Nzg2NzQ=","avatar_url":"https://avatars1.githubusercontent.com/u/3778674?v=4","gravatar_id":"","url":"https://api.github.com/users/CoolDadTx","html_url":"https://github.com/CoolDadTx","followers_url":"https://api.github.com/users/CoolDadTx/followers","following_url":"https://api.github.com/users/CoolDadTx/following{/other_user}","gists_url":"https://api.github.com/users/CoolDadTx/gists{/gist_id}","starred_url":"https://api.github.com/users/CoolDadTx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CoolDadTx/subscriptions","organizations_url":"https://api.github.com/users/CoolDadTx/orgs","repos_url":"https://api.github.com/users/CoolDadTx/repos","events_url":"https://api.github.com/users/CoolDadTx/events{/privacy}","received_events_url":"https://api.github.com/users/CoolDadTx/received_events","type":"User","site_admin":false},"labels":[{"id":659692058,"node_id":"MDU6TGFiZWw2NTk2OTIwNTg=","url":"https://api.github.com/repos/dotnet/docs/labels/:books:%20Area%20-%20.NET%20Guide","name":":books: Area - .NET Guide","color":"3d5c8e","default":false},{"id":918775588,"node_id":"MDU6TGFiZWw5MTg3NzU1ODg=","url":"https://api.github.com/repos/dotnet/docs/labels/Source%20-%20Docs.ms","name":"Source - Docs.ms","color":"77f966","default":false}],"state":"open","locked":false,"assignee":{"login":"JamesNK","id":303201,"node_id":"MDQ6VXNlcjMwMzIwMQ==","avatar_url":"https://avatars2.githubusercontent.com/u/303201?v=4","gravatar_id":"","url":"https://api.github.com/users/JamesNK","html_url":"https://github.com/JamesNK","followers_url":"https://api.github.com/users/JamesNK/followers","following_url":"https://api.github.com/users/JamesNK/following{/other_user}","gists_url":"https://api.github.com/users/JamesNK/gists{/gist_id}","starred_url":"https://api.github.com/users/JamesNK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JamesNK/subscriptions","organizations_url":"https://api.github.com/users/JamesNK/orgs","repos_url":"https://api.github.com/users/JamesNK/repos","events_url":"https://api.github.com/users/JamesNK/events{/privacy}","received_events_url":"https://api.github.com/users/JamesNK/received_events","type":"User","site_admin":false},"assignees":[{"login":"JamesNK","id":303201,"node_id":"MDQ6VXNlcjMwMzIwMQ==","avatar_url":"https://avatars2.githubusercontent.com/u/303201?v=4","gravatar_id":"","url":"https://api.github.com/users/JamesNK","html_url":"https://github.com/JamesNK","followers_url":"https://api.github.com/users/JamesNK/followers","following_url":"https://api.github.com/users/JamesNK/following{/other_user}","gists_url":"https://api.github.com/users/JamesNK/gists{/gist_id}","starred_url":"https://api.github.com/users/JamesNK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JamesNK/subscriptions","organizations_url":"https://api.github.com/users/JamesNK/orgs","repos_url":"https://api.github.com/users/JamesNK/repos","events_url":"https://api.github.com/users/JamesNK/events{/privacy}","received_events_url":"https://api.github.com/users/JamesNK/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/dotnet/docs/milestones/3","html_url":"https://github.com/dotnet/docs/milestone/3","labels_url":"https://api.github.com/repos/dotnet/docs/milestones/3/labels","id":1605922,"node_id":"MDk6TWlsZXN0b25lMTYwNTkyMg==","number":3,"title":"Backlog","description":"This item is used to group items that are to be triaged for a concrete milestone that has a data associated. ","creator":{"login":"blackdwarf","id":3115004,"node_id":"MDQ6VXNlcjMxMTUwMDQ=","avatar_url":"https://avatars3.githubusercontent.com/u/3115004?v=4","gravatar_id":"","url":"https://api.github.com/users/blackdwarf","html_url":"https://github.com/blackdwarf","followers_url":"https://api.github.com/users/blackdwarf/followers","following_url":"https://api.github.com/users/blackdwarf/following{/other_user}","gists_url":"https://api.github.com/users/blackdwarf/gists{/gist_id}","starred_url":"https://api.github.com/users/blackdwarf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blackdwarf/subscriptions","organizations_url":"https://api.github.com/users/blackdwarf/orgs","repos_url":"https://api.github.com/users/blackdwarf/repos","events_url":"https://api.github.com/users/blackdwarf/events{/privacy}","received_events_url":"https://api.github.com/users/blackdwarf/received_events","type":"User","site_admin":false},"open_issues":581,"closed_issues":121,"state":"open","created_at":"2016-02-25T19:28:41Z","updated_at":"2018-10-22T21:58:22Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2018-10-15T18:10:48Z","updated_at":"2018-10-23T15:44:27Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"There are too many gaps between the SDK project packaging and a standard nuspec file. The guidelines should only recommend this approach for the most basic of packages.  Known list of issues that I'm aware of:\n\n1) Doesn't support all the standard NuGet specifiers that nuspec does.\n2) Cannot have more than 1 DLL per package.\n3) Cannot use project references at all unless you are OK with always releasing all projects at the same time. (e.g. no hotfixes).\n\nUntil these (and other) issues are resolved you shouldn't recommend the SDK project packaging. That is just trying to promote a feature that isn't ready yet. It's been over a year so most of these issues were reported so clearly there is no rush to get it right.\n\n---\n#### Document Details\n\n⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*\n\n* ID: fc2b4abb-c382-17ef-f1f3-1413ee27aaa0\n* Version Independent ID: 4d4bb4d2-a8f4-f142-7154-40ce7fc7ae32\n* Content: [NuGet and .NET libraries](https://docs.microsoft.com/en-us/dotnet/standard/library-guidance/nuget)\n* Content Source: [docs/standard/library-guidance/nuget.md](https://github.com/dotnet/docs/blob/master/docs/standard/library-guidance/nuget.md)\n* Product: **dotnet**\n* GitHub Login: @JamesNK\n* Microsoft Alias: **mairaw**"},"comment":{"url":"https://api.github.com/repos/dotnet/docs/issues/comments/432302069","html_url":"https://github.com/dotnet/docs/issues/8368#issuecomment-432302069","issue_url":"https://api.github.com/repos/dotnet/docs/issues/8368","id":432302069,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMjMwMjA2OQ==","user":{"login":"natemcmaster","id":2696087,"node_id":"MDQ6VXNlcjI2OTYwODc=","avatar_url":"https://avatars0.githubusercontent.com/u/2696087?v=4","gravatar_id":"","url":"https://api.github.com/users/natemcmaster","html_url":"https://github.com/natemcmaster","followers_url":"https://api.github.com/users/natemcmaster/followers","following_url":"https://api.github.com/users/natemcmaster/following{/other_user}","gists_url":"https://api.github.com/users/natemcmaster/gists{/gist_id}","starred_url":"https://api.github.com/users/natemcmaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natemcmaster/subscriptions","organizations_url":"https://api.github.com/users/natemcmaster/orgs","repos_url":"https://api.github.com/users/natemcmaster/repos","events_url":"https://api.github.com/users/natemcmaster/events{/privacy}","received_events_url":"https://api.github.com/users/natemcmaster/received_events","type":"User","site_admin":false},"created_at":"2018-10-23T15:44:27Z","updated_at":"2018-10-23T15:44:27Z","author_association":"MEMBER","body":">  Isn't there a way to add more dlls to the package?\r\n\r\nYeah, you write a .nuspec. I agree with @CoolDadTx's point about it being painful to customize some aspects of nuspec generation. Example: https://github.com/NuGet/Home/issues/5063. Sometimes, it's just not possible to get the .csproj to layout the package the way you want. In these cases, I recommend writing a nuspec file manually. This can still be used with a .csproj like this: \r\n\r\n```xml\r\n<!-- In the .csproj -->\r\n<PropertyGroup>\r\n   <!-- When this is specified, msbuild /t:Pack aka (dotnet pack) will use your nuspec instead. -->\r\n   <NuspecFile>MyCustomThing.nuspec</NuspecFile>\r\n   <!-- optional: replacement tokens -->\r\n   <NuspecProperties>dllPath=$(TargetPath);var=123;var2=xyz</NuspecProperties>\r\n</PropertyGroup>\r\n```\r\n\r\nExample:\r\n * https://github.com/aspnet/BuildTools/blob/cd8e302fe13584c3bc0f5880d7ea9092c133bf09/src/ApiCheck.Console/Microsoft.AspNetCore.BuildTools.ApiCheck.nuspec\r\n * https://github.com/aspnet/BuildTools/blob/cd8e302fe13584c3bc0f5880d7ea9092c133bf09/src/ApiCheck.Console/ApiCheck.Console.csproj\r\n\r\nBy the way, the docs repo isn't really the right place for this issue. https://github.com/NuGet/Home is a better place for this. I've given feedback like this to the NuGet team over the last few years, but making it easier to pack custom layouts does not appear to be a high priority for them."}}
{"actor":{"display_login":"natemcmaster"}}