SharedProjectUtilities Class

Visual Studio 2015
 

Utility methods for Shared Assets Projects.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

System.Object
  Microsoft.VisualStudio.Shell.SharedProjectUtilities

public static class SharedProjectUtilities

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticEnumImportingProjects(IVsHierarchy)

Enumerates all the projects that are importing the shared assets owned by the given Shared Assets Project hierarchy.

System_CAPS_pubmethodSystem_CAPS_staticEnumOwningProjectsOfSharedAssets(IVsHierarchy)

The Shared Assets Projects that own and manage the shared assets imported by the given project.

System_CAPS_pubmethodSystem_CAPS_staticGetActiveProjectContext(IVsHierarchy)

Gets the active project context.

System_CAPS_pubmethodSystem_CAPS_staticGetDeploymentRelativePath(IVsHierarchy, UInt32)

Gets the deployment relative path of the given item ID.

System_CAPS_pubmethodSystem_CAPS_staticGetSharedItemsImportFullPaths(IVsHierarchy)

Gets the full paths of the "Shared.items" files imported by the given project.

System_CAPS_pubmethodSystem_CAPS_staticIsProjectImportingSharedAssets(IVsHierarchy)

Determines whether the given project imports shared assets.

System_CAPS_pubmethodSystem_CAPS_staticIsSharedAssetsProject(IVsHierarchy)

Determines whether the given project is a Shared Assets Project.

System_CAPS_pubmethodSystem_CAPS_staticIsSharedItem(IVsHierarchy, UInt32)

Determines whether the given item is a shared item.

System_CAPS_pubmethodSystem_CAPS_staticSetActiveProjectContext(IVsHierarchy, IVsHierarchy)

Sets the active project context.

System_CAPS_pubmethodSystem_CAPS_staticSetHierarchyProperty(IVsHierarchy, UInt32, Int32, Object)

Sets the hierarchy property, and also sets the property on the shared item in the Shared Assets Project hierarchy.

System_CAPS_pubmethodSystem_CAPS_staticTryGetItemInSharedAssetsProject(IVsHierarchy, UInt32, IVsHierarchy, UInt32)

Gets the item ID of the in the Shared Assets Project hierarchy.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: