{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/cli/issues/4796","repository_url":"https://api.github.com/repos/dotnet/cli","labels_url":"https://api.github.com/repos/dotnet/cli/issues/4796/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/cli/issues/4796/comments","events_url":"https://api.github.com/repos/dotnet/cli/issues/4796/events","html_url":"https://github.com/dotnet/cli/issues/4796","id":190746962,"number":4796,"title":"Replace MSBuild Condition Attributes with Specific Elements","user":{"login":"tugberkugurlu","id":328122,"avatar_url":"https://avatars.githubusercontent.com/u/328122?v=3","gravatar_id":"","url":"https://api.github.com/users/tugberkugurlu","html_url":"https://github.com/tugberkugurlu","followers_url":"https://api.github.com/users/tugberkugurlu/followers","following_url":"https://api.github.com/users/tugberkugurlu/following{/other_user}","gists_url":"https://api.github.com/users/tugberkugurlu/gists{/gist_id}","starred_url":"https://api.github.com/users/tugberkugurlu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tugberkugurlu/subscriptions","organizations_url":"https://api.github.com/users/tugberkugurlu/orgs","repos_url":"https://api.github.com/users/tugberkugurlu/repos","events_url":"https://api.github.com/users/tugberkugurlu/events{/privacy}","received_events_url":"https://api.github.com/users/tugberkugurlu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-11-21T15:21:56Z","updated_at":"2016-11-21T21:45:48Z","closed_at":"2016-11-21T21:45:48Z","body":"I can see the below conditional properties inside my csproj file:\r\n\r\n```xml\r\n<ItemGroup Condition=\" '$(TargetFramework)' == 'netcoreapp1.0' \">\r\n   <PackageReference Include=\"Microsoft.NETCore.App\">\r\n     <Version>1.1.0</Version>\r\n   </PackageReference>\r\n</ItemGroup>\r\n```\r\n\r\nThis is really hard to remember and hand-type. I am not going to get into how this was easy in project.json (opps, I did). At least it would be nice to simplify this like below:\r\n\r\n```xml\r\n<Framework name=\"netcoreapp1.0\">\r\n   <Dependencies>\r\n      <PackageReference Include=\"Microsoft.NETCore.App\">\r\n          <Version>1.1.0</Version>\r\n      </PackageReference>\r\n   </Dependencies>\r\n</Framework>\r\n```\r\n\r\n## Environment data\r\n`dotnet --info` output:\r\n\r\n```\r\nZ:\\>dotnet --info\r\n.NET Command Line Tools (1.0.0-preview3-004056)\r\n\r\nProduct Information:\r\n Version:            1.0.0-preview3-004056\r\n Commit SHA-1 hash:  ccc4968bc3\r\n\r\nRuntime Environment:\r\n OS Name:     Windows\r\n OS Version:  10.0.10240\r\n OS Platform: Windows\r\n RID:         win10-x64\r\n```\r\n\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/dotnet/cli/issues/comments/262077083","html_url":"https://github.com/dotnet/cli/issues/4796#issuecomment-262077083","issue_url":"https://api.github.com/repos/dotnet/cli/issues/4796","id":262077083,"user":{"login":"livarcocc","id":367554,"avatar_url":"https://avatars.githubusercontent.com/u/367554?v=3","gravatar_id":"","url":"https://api.github.com/users/livarcocc","html_url":"https://github.com/livarcocc","followers_url":"https://api.github.com/users/livarcocc/followers","following_url":"https://api.github.com/users/livarcocc/following{/other_user}","gists_url":"https://api.github.com/users/livarcocc/gists{/gist_id}","starred_url":"https://api.github.com/users/livarcocc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/livarcocc/subscriptions","organizations_url":"https://api.github.com/users/livarcocc/orgs","repos_url":"https://api.github.com/users/livarcocc/repos","events_url":"https://api.github.com/users/livarcocc/events{/privacy}","received_events_url":"https://api.github.com/users/livarcocc/received_events","type":"User","site_admin":false},"created_at":"2016-11-21T21:45:48Z","updated_at":"2016-11-21T21:45:48Z","body":"If you want, please open an issue for this in the msbuild repo."}}
{"actor":{"display_login":"livarcocc"}}