{"action":"created","issue":{"url":"https://api.github.com/repos/MicrosoftDocs/visualstudio-docs/issues/599","repository_url":"https://api.github.com/repos/MicrosoftDocs/visualstudio-docs","labels_url":"https://api.github.com/repos/MicrosoftDocs/visualstudio-docs/issues/599/labels{/name}","comments_url":"https://api.github.com/repos/MicrosoftDocs/visualstudio-docs/issues/599/comments","events_url":"https://api.github.com/repos/MicrosoftDocs/visualstudio-docs/issues/599/events","html_url":"https://github.com/MicrosoftDocs/visualstudio-docs/issues/599","id":299515891,"number":599,"title":"Outdated versions of the framework","user":{"login":"mairaw","id":12971179,"avatar_url":"https://avatars2.githubusercontent.com/u/12971179?v=4","gravatar_id":"","url":"https://api.github.com/users/mairaw","html_url":"https://github.com/mairaw","followers_url":"https://api.github.com/users/mairaw/followers","following_url":"https://api.github.com/users/mairaw/following{/other_user}","gists_url":"https://api.github.com/users/mairaw/gists{/gist_id}","starred_url":"https://api.github.com/users/mairaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mairaw/subscriptions","organizations_url":"https://api.github.com/users/mairaw/orgs","repos_url":"https://api.github.com/users/mairaw/repos","events_url":"https://api.github.com/users/mairaw/events{/privacy}","received_events_url":"https://api.github.com/users/mairaw/received_events","type":"User","site_admin":false},"labels":[{"id":725004326,"url":"https://api.github.com/repos/MicrosoftDocs/visualstudio-docs/labels/Area%20-%20msbuild","name":"Area - msbuild","color":"23a3a8","default":false},{"id":828098007,"url":"https://api.github.com/repos/MicrosoftDocs/visualstudio-docs/labels/enhancement","name":"enhancement","color":"23bc28","default":true}],"state":"open","locked":false,"assignee":{"login":"Mikejo5000","id":11948536,"avatar_url":"https://avatars1.githubusercontent.com/u/11948536?v=4","gravatar_id":"","url":"https://api.github.com/users/Mikejo5000","html_url":"https://github.com/Mikejo5000","followers_url":"https://api.github.com/users/Mikejo5000/followers","following_url":"https://api.github.com/users/Mikejo5000/following{/other_user}","gists_url":"https://api.github.com/users/Mikejo5000/gists{/gist_id}","starred_url":"https://api.github.com/users/Mikejo5000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mikejo5000/subscriptions","organizations_url":"https://api.github.com/users/Mikejo5000/orgs","repos_url":"https://api.github.com/users/Mikejo5000/repos","events_url":"https://api.github.com/users/Mikejo5000/events{/privacy}","received_events_url":"https://api.github.com/users/Mikejo5000/received_events","type":"User","site_admin":false},"assignees":[{"login":"Mikejo5000","id":11948536,"avatar_url":"https://avatars1.githubusercontent.com/u/11948536?v=4","gravatar_id":"","url":"https://api.github.com/users/Mikejo5000","html_url":"https://github.com/Mikejo5000","followers_url":"https://api.github.com/users/Mikejo5000/followers","following_url":"https://api.github.com/users/Mikejo5000/following{/other_user}","gists_url":"https://api.github.com/users/Mikejo5000/gists{/gist_id}","starred_url":"https://api.github.com/users/Mikejo5000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mikejo5000/subscriptions","organizations_url":"https://api.github.com/users/Mikejo5000/orgs","repos_url":"https://api.github.com/users/Mikejo5000/repos","events_url":"https://api.github.com/users/Mikejo5000/events{/privacy}","received_events_url":"https://api.github.com/users/Mikejo5000/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-02-22T21:32:40Z","updated_at":"2018-03-19T14:46:55Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Missing the newer versions and out-of-support versions are still listed. \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: 1a80e5d7-2db7-48c0-e8b6-ca8c3ff30017\n* Version Independent ID: ad64635b-06d5-1b87-8f02-80cf25c12520\n* [Content](https://docs.microsoft.com/en-us/visualstudio/msbuild/msbuild-target-framework-and-target-platform)\n* [Content Source](https://github.com/Microsoft/visualstudio-docs/blob/master/docs/msbuild/msbuild-target-framework-and-target-platform.md)\n* Service: unspecified"},"comment":{"url":"https://api.github.com/repos/MicrosoftDocs/visualstudio-docs/issues/comments/374237843","html_url":"https://github.com/MicrosoftDocs/visualstudio-docs/issues/599#issuecomment-374237843","issue_url":"https://api.github.com/repos/MicrosoftDocs/visualstudio-docs/issues/599","id":374237843,"user":{"login":"rainersigwald","id":3347530,"avatar_url":"https://avatars1.githubusercontent.com/u/3347530?v=4","gravatar_id":"","url":"https://api.github.com/users/rainersigwald","html_url":"https://github.com/rainersigwald","followers_url":"https://api.github.com/users/rainersigwald/followers","following_url":"https://api.github.com/users/rainersigwald/following{/other_user}","gists_url":"https://api.github.com/users/rainersigwald/gists{/gist_id}","starred_url":"https://api.github.com/users/rainersigwald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rainersigwald/subscriptions","organizations_url":"https://api.github.com/users/rainersigwald/orgs","repos_url":"https://api.github.com/users/rainersigwald/repos","events_url":"https://api.github.com/users/rainersigwald/events{/privacy}","received_events_url":"https://api.github.com/users/rainersigwald/received_events","type":"User","site_admin":false},"created_at":"2018-03-19T14:46:55Z","updated_at":"2018-03-19T14:46:55Z","author_association":"CONTRIBUTOR","body":"@Mikejo5000 VS sets `PlatformTarget` and that's what gets [passed to the compiler](https://github.com/dotnet/roslyn/blob/d86b98d0153b501291f5c0572485f669634feb00/src/Compilers/Core/MSBuildTask/Microsoft.CSharp.Core.targets#L97) so it's probably best to have the docs refer to it here.\r\n\r\nSetting `Platform` usually works, because the (non-SDK-style) templates do something like:\r\n\r\n```xml\r\n  <PropertyGroup Condition=\" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' \">\r\n    <PlatformTarget>AnyCPU</PlatformTarget>\r\n    <DebugSymbols>true</DebugSymbols>\r\n    <DebugType>full</DebugType>\r\n    <Optimize>false</Optimize>\r\n    <OutputPath>bin\\Debug\\</OutputPath>\r\n    <DefineConstants>DEBUG;TRACE</DefineConstants>\r\n    <ErrorReport>prompt</ErrorReport>\r\n    <WarningLevel>4</WarningLevel>\r\n  </PropertyGroup>\r\n  <PropertyGroup Condition=\" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' \">\r\n    <PlatformTarget>AnyCPU</PlatformTarget>\r\n    <DebugType>pdbonly</DebugType>\r\n    <Optimize>true</Optimize>\r\n    <OutputPath>bin\\Release\\</OutputPath>\r\n    <DefineConstants>TRACE</DefineConstants>\r\n    <ErrorReport>prompt</ErrorReport>\r\n    <WarningLevel>4</WarningLevel>\r\n  </PropertyGroup>\r\n```\r\n\r\nSo setting `Platform` above that opts into the correct `PlatformTarget`. So it's not so much that `Platform` is a solution-level concept as that it's a higher-level concept usually set at the solution level. But that's extremely subtle and probably not important."}}
{"actor":{"display_login":"rainersigwald"}}