ProjectStorage.UpgradeVsaProject Method (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.

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

Syntax

public static IProjectStorage UpgradeVsaProject(
    string projectFileName,
    IProjectStorage projectStorage,
    string msBuildProjectTemplate,
    IEnumerable<string> referencesToRemove,
    IEnumerable<Reference> referencesToAdd,
    Dictionary<string, string> customParameters
)
public:
static IProjectStorage^ UpgradeVsaProject(
    String^ projectFileName,
    IProjectStorage^ projectStorage,
    String^ msBuildProjectTemplate,
    IEnumerable<String^>^ referencesToRemove,
    IEnumerable<Reference^>^ referencesToAdd,
    Dictionary<String^, String^>^ customParameters
)
static member UpgradeVsaProject : 
        projectFileName:string *
        projectStorage:IProjectStorage *
        msBuildProjectTemplate:string *
        referencesToRemove:IEnumerable<string> *
        referencesToAdd:IEnumerable<Reference> *
        customParameters:Dictionary<string, string> -> IProjectStorage
Public Shared Function UpgradeVsaProject (
    projectFileName As String,
    projectStorage As IProjectStorage,
    msBuildProjectTemplate As String,
    referencesToRemove As IEnumerable(Of String),
    referencesToAdd As IEnumerable(Of Reference),
    customParameters As Dictionary(Of String, String)
) As IProjectStorage

Parameters

  • projectFileName
    Type: System.String

    Name of the VSA project file in projectStorage.

  • msBuildProjectTemplate
    Type: System.String

    A Microsoft Visual Studio Tools for Applications 2013 compatible MSBuild project template already populated with host information.

Return Value

Type: Microsoft.VisualStudio.Tools.Applications.IProjectStorage

Returns IProjectStorage.

See Also

ProjectStorage Class
Microsoft.VisualStudio.Tools.Applications Namespace

Return to top