共用方式為


ProjectStorage Class

 

Methods for creating and manipulating storage of type IProjectStorage.

Namespace:   Microsoft.VisualStudio.Tools.Applications
Assembly:  Microsoft.VisualStudio.Tools.Applications (in Microsoft.VisualStudio.Tools.Applications.dll)

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Tools.Applications.ProjectStorage

Syntax

public static class ProjectStorage
public ref class ProjectStorage abstract sealed 
[<AbstractClass>]
[<Sealed>]
type ProjectStorage = class end
Public NotInheritable Class ProjectStorage

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static CreateStorageFromTemplate(Stream, String, String, IDictionary<String, String>)

Creates a new IProjectStorage using the template templateName contained in projectTemplatesStream.

System_CAPS_pubmethodSystem_CAPS_static CreateStorageFromTemplate(String, String, String, IDictionary<String, String>)

Creates a new IProjectStorage using the template templateName contained in projectTemplatesPath.

System_CAPS_pubmethodSystem_CAPS_static RetargetVstaProject(IProjectStorage, Int32, Int32, IEnumerable<String>, IEnumerable<Reference>)

Changes an existing Visual Studio Tools for Applications project to target a different version of Visual Studio or the .NET Framework.

System_CAPS_pubmethodSystem_CAPS_static UpgradeVsaProject(String, IProjectStorage, String, IEnumerable<String>, IEnumerable<Reference>, Dictionary<String, String>)

Parses the VSA project and generates a Microsoft Visual Studio Tools for Applications 2013 (VSTA) project from the VSA project data. Also loads the project files into an instance of IProjectStorage.

System_CAPS_pubmethodSystem_CAPS_static UpgradeVstaProject(String, IProjectStorage, IEnumerable<String>, IEnumerable<Reference>, Int32, Int32)

Updates a VSTA 2.0 or 1.1 project to a Microsoft Visual Studio Tools for Applications 2013 project and loads the project files into a new instance of IProjectStorage.

Thread Safety

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

See Also

Microsoft.VisualStudio.Tools.Applications Namespace

Return to top