src/Misc/EFTools/EntityDesign/VisualStudio/VsUtils.cs
// <summary>
//     Read the Visual Studio ApplicationID from the registry.  This should return something like 'VisualStudio' for VS or 'VBExpress' for VB Express.
// </summary>
Read the Visual Studio ApplicationID from the registry.  This should return something like 'VisualStudio' for VS or 'VBExpress' for VB Express.
Read the Visual Studio ApplicationID from the registry . This should return something like ' VisualStudio ' for VS or ' VBExpress ' for VB Express .
internal static string GetVisualStudioApplicationID()
        {
            var applicationID = String.Empty;
            var root = GetVisualStudioRegistryPath();
            Debug.Assert(!String.IsNullOrEmpty(root), "The registry path could not be found..");
            if (!String.IsNullOrEmpty(root))
            {
                using (var subKey = Registry.LocalMachine.OpenSubKey(root, false))
                {
                    applicationID = subKey.GetValue("ApplicationID") as String;
                    Debug.Assert(applicationID != null, "Couldn't find registry entry for VisualStudio ApplicationID");
                }
            }
            return applicationID;
        }
internal static string GetVisualStudioApplicationID ( ) { var applicationID = String . Empty ; var root = GetVisualStudioRegistryPath ( ) ; Debug . Assert ( ! String . IsNullOrEmpty ( root ) , " " ) ; if ( ! String . IsNullOrEmpty ( root ) ) { using ( var subKey = Registry . LocalMachine . OpenSubKey ( root , false ) ) { applicationID = subKey . GetValue ( " " ) as String ; Debug . Assert ( applicationID != null , " " ) ; } } return applicationID ; }
Read the Visual Studio ApplicationID from the registry.
Read the Visual Studio ApplicationID from the registry .