locked
What is the recommended AssemblyFolderEx registry key for .NET 4.5 assemblies ? RRS feed

  • Question

  • I seem to have a choice between two very similar registry keys for customizing Visual Studio Reference Manager.  What is the difference between 'v4.5' and 'v4.5.50709' in the keys below? Which one is official or recommended? Does one have drawbacks over the other?

    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v4.5\AssemblyFoldersEx

    (contains subkeys Expression Blend and Expression SketchFlow)

    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v4.5.50709\AssemblyFoldersEx

    (contains 6 subkeys)

    Thank you, Copperfield778

    Tuesday, April 8, 2014 8:06 PM

All replies

  • Hi,

    Please refer to this similar thread below.

    http://social.msdn.microsoft.com/Forums/en-US/4321068b-abc2-4044-a270-27467c6a0280/net-framework-45-registry-key?forum=netfxsetup

    "in VS 2012, I see the .NET 4.5 version as 4.5.50709."

    Best regards,

    Sunny

    • Marked as answer by Anna Cc Thursday, April 17, 2014 1:46 AM
    • Unmarked as answer by Copperfield778 Thursday, April 17, 2014 2:56 PM
    Wednesday, April 9, 2014 9:21 AM
  • Hi Sunny,

    The forum link you post is really indicative of someone else's confusion, and I think, demonstrates a need to explain the differences between the keys v4.5 and v4.5.50709

    • pvdg42 : "I have a machine here running a clean install of Win 8 Pro RTM and VS 2012 Ultimate RTM. [¶] When I look in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\, I see no subfolder for v4.5 at all. [¶] When I look Programs and Features->Turn Windows features on and off, I see the embedded .NET Framework 4.5, and in Help->About... in VS 2012, I see the .NET 4.5 version as 4.5.50709."

    Maybe pvdg42 needed to look in his Wow6432Node subkeys instead.  As noted above, my system has subkeys under v4.5 for Expression Blend and Expression Sketchflow.  From this link I feel reasonable in assuming that those keys were placed there by VS 2012 installation. http://www.microsoft.com/expression/eng/

    • Dave Sexton : "Thanks for the info.  It's surprising to me because I've been using the AssemblyFoldersEx subkey in past versions of .NET to register custom assemblies so that they show up in the Add Reference dialog in VS.  I guess they've changed the location of this key for .NET 4.5." 

    In the interim, I have installed Visual Studio 2013 and there is a new key: HKLM\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v4.5.1\AssemblyFoldersEx

    If 'v4.5.50709' is in fact the recommended usage, then it would be nice if there were some guidance as to why 'v4.5.1' should be its successor.  So, please I ask again :

    • What is the difference between 'v4.5' and 'v4.5.50709' in the keys in the initial post?
    • Which one is official or recommended?
    • Does one have drawbacks over the other?

    Thank you, Copperfield778


    Thursday, April 17, 2014 3:48 PM