{"action":"closed","issue":{"url":"https://api.github.com/repos/dotnet/cli/issues/5774","repository_url":"https://api.github.com/repos/dotnet/cli","labels_url":"https://api.github.com/repos/dotnet/cli/issues/5774/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/cli/issues/5774/comments","events_url":"https://api.github.com/repos/dotnet/cli/issues/5774/events","html_url":"https://github.com/dotnet/cli/issues/5774","id":208767867,"number":5774,"title":"PackageReference that depends on DotNetCliToolReference ","user":{"login":"ctaggart","id":80104,"avatar_url":"https://avatars.githubusercontent.com/u/80104?v=3","gravatar_id":"","url":"https://api.github.com/users/ctaggart","html_url":"https://github.com/ctaggart","followers_url":"https://api.github.com/users/ctaggart/followers","following_url":"https://api.github.com/users/ctaggart/following{/other_user}","gists_url":"https://api.github.com/users/ctaggart/gists{/gist_id}","starred_url":"https://api.github.com/users/ctaggart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctaggart/subscriptions","organizations_url":"https://api.github.com/users/ctaggart/orgs","repos_url":"https://api.github.com/users/ctaggart/repos","events_url":"https://api.github.com/users/ctaggart/events{/privacy}","received_events_url":"https://api.github.com/users/ctaggart/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-02-20T02:09:21Z","updated_at":"2017-02-20T02:59:06Z","closed_at":"2017-02-20T02:59:06Z","body":"Hi, I'm working on tools to help automate the `/sourcelink` option for the compilers. I've packaged the tools as dotnet cli tools with simple MSBuild tools packages that are wrappers. Is it possible to have the MSBuild tools package reference the dotnet cli tool.\r\n\r\nCurrently, I must tell people to include both:\r\n``` xml\r\n<Project Sdk=\"Microsoft.NET.Sdk\">\r\n  <PropertyGroup>\r\n    <TargetFramework>netstandard1.4</TargetFramework>\r\n    <DebugType>Portable</DebugType>\r\n  </PropertyGroup>\r\n  <ItemGroup>\r\n    <PackageReference Include=\"SourceLink.Create.GitHub\" Version=\"2.0.0-*\" />\r\n    <DotNetCliToolReference Include=\"dotnet-sourcelink-git\" Version=\"2.0.0-*\" />\r\n  </ItemGroup>\r\n</Project>\r\n```\r\n\r\nBut I really just want to tell people to include one:\r\n``` xml\r\n<Project Sdk=\"Microsoft.NET.Sdk\">\r\n  <PropertyGroup>\r\n    <TargetFramework>netstandard1.4</TargetFramework>\r\n    <DebugType>Portable</DebugType>\r\n  </PropertyGroup>\r\n  <ItemGroup>\r\n    <PackageReference Include=\"SourceLink.Create.GitHub\" Version=\"2.0.0-*\" />\r\n  </ItemGroup>\r\n</Project>\r\n```\r\n\r\nIs this possible or will this be possible?\r\n\r\n## Environment data\r\n`dotnet --info` output:\r\n\r\n```\r\nPS C:\\Users\\camer\\cs\\SourceLink> dotnet --info\r\n.NET Command Line Tools (1.0.0-rc4-004771)\r\n\r\nProduct Information:\r\n Version:            1.0.0-rc4-004771\r\n Commit SHA-1 hash:  4228198f0e\r\n\r\nRuntime Environment:\r\n OS Name:     Windows\r\n OS Version:  10.0.14393\r\n OS Platform: Windows\r\n RID:         win10-x64\r\n Base Path:   C:\\Program Files\\dotnet\\sdk\\1.0.0-rc4-004771\r\n```\r\n\r\n\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"ctaggart"}}