31

I want to develop .net framework 4.6.1 applications using Visual studio 2012.So, I tried to install 4.6.1 developer pack for visual studio 2012.But when I go to this link to install the framework.It provides me two links, one for .NET Framework 4.6.1 Targeting Pack and the other for .NET Framework 4.6.1 Runtime. Which one of these shall I install?

V K
  • 1,645
  • 3
  • 26
  • 57
  • The link you gave is to the developer pack, it includes the targeting pack, SDK and the 4.6.1 framework. So in short you need them all – Mark Hall Feb 15 '16 at 06:37
  • Link to visual studio 2015 is also provided there.Do I have to download that as well? – V K Feb 15 '16 at 09:36
  • No, Looks like it is supported on VS2012, just make sure you download from the tab that has your version. – Mark Hall Feb 15 '16 at 13:16
  • 1
    https://www.microsoft.com/en-us/download/details.aspx?id=49978 to use .Net 4.6.1 in VS 2012, 2013, 2015. – user276648 Feb 22 '16 at 05:59
  • 2
    Mark has already answered this. You need to install Developer Pack which should contain everything. Link: http://getdotnet.azurewebsites.net/target-dotnet-platforms.html# Select VS 2012 and download Targeting PAck – Frank Q. Jun 28 '16 at 23:02

1 Answers1

24

To use the framework with Visual Studio 2012 or later install the developer type version.

The runtime type version is a lighter version, meant to run applications on servers. This runtime version doesn't have the information/extensions that Visual Studio needs, so Visual Studio can't use them.

Check why at was-the-developer-pack-originally-called-sdk

Update(2018-01-08)

Currently, the download page is .NET SDKs for Visual Studio. First column has the Developer Pack versions, for Visual Studios, the middle column as the Runtime versions to install on production servers.

MiguelSlv
  • 14,067
  • 15
  • 102
  • 169
  • 7
    I'm afraid I felt it necessary to downvote because you don't actually explain what the targeting pack *is*. – jpmc26 Aug 28 '17 at 19:20
  • 4
    Was not my intention to explain what it is but to responde to the question. Anyway, your comment make me notice that the answer could have a bit more information. – MiguelSlv Aug 28 '17 at 20:48
  • 3
    Not quite sure how you can avoid explaining the difference without explaining what it is, but up to you. – jpmc26 Aug 28 '17 at 21:08
  • 4
    What's the difference between SDK and Targeting pack, I saw both options when trying to install .net framework 4.6.2 on VS 17 – NikhilGoud Jan 08 '18 at 11:05
  • Where did you see it? the current page for download (just added on my update) doesn't mention any Targeting pack – MiguelSlv Jan 08 '18 at 14:21
  • Probably in the Visual Studio 2017 installer - there are currently some SDKs and targeting packs listed. – CodeFox Feb 01 '18 at 09:30
  • 1
    The gist of the question was, which one do I install? That wasn't answered either so this thread is not particularly useful. – shawn1874 Feb 06 '18 at 17:13