Compartir a través de


UpdateExtensions Class

Definition

Provides extension methods to apply actions/updates to the project model.

public static class UpdateExtensions
type UpdateExtensions = class
Public Module UpdateExtensions
Inheritance
UpdateExtensions

Methods

AddConfigurationDimensionValue(IAsyncUpdatable<IProjectSnapshot>, String, String, String, Boolean)

Adds a new value to a configuration dimension.

AddFile(IAsyncUpdatable<IProjectSnapshot>, String, String)

Add an existing file to the project.

AddFile(IAsyncUpdatable<ISolutionFolderSnapshot>, String)

Add an existing file to a solution folder.

AddFile(IAsyncUpdatable<ISolutionSnapshot>, String)

Add an exisiting file to the solution.

AddFileFromCopy(IAsyncUpdatable<IProjectSnapshot>, String, String, String)

Adds a file as a new copy into the project.

AddFiles(IAsyncUpdatable<IProjectSnapshot>, IEnumerable<String>, String)

Add existing files to the project.

AddFiles(IAsyncUpdatable<ISolutionFolderSnapshot>, IEnumerable<String>)

Add existing files to a solution folder.

AddFiles(IAsyncUpdatable<ISolutionSnapshot>, IEnumerable<String>)

Add existing files to the solution.

AddFilesFromCopy(IAsyncUpdatable<IProjectSnapshot>, IEnumerable<String>, String, String)

Adds a file as a new copy into the project.

AddLaunchProfile(IAsyncUpdatable<IProjectSnapshot>, String, String)

Adds a new launch profile.

AddLinkFile(IAsyncUpdatable<IProjectSnapshot>, String, String, String)

Adds a file as a link into the project.

AddLinkFiles(IAsyncUpdatable<IProjectSnapshot>, IEnumerable<String>, String, String)

Adds files as links into the project.

AddPackageReference(IAsyncUpdatable<IProjectSnapshot>, String, String)

Adds a NuGet package reference to projects.

AddProject(IAsyncUpdatable<ISolutionFolderSnapshot>, String)

Adds a project to a solution folder.

AddProject(IAsyncUpdatable<ISolutionSnapshot>, String)

Adds a project to a solution.

AddProject(ISolutionSnapshot, String)

Adds a project to a solution.

AddProjectReference(IAsyncUpdatable<IProjectSnapshot>, IProjectSnapshot)

Adds a reference to another project in the solution.

AddProjectReference(IAsyncUpdatable<IProjectSnapshot>, String)

Adds a reference to another project in the solution.

AddProjectReferences(IAsyncUpdatable<IProjectSnapshot>, IEnumerable<String>)

Adds a reference to another project in the solution.

AddReference(IAsyncUpdatable<IProjectConfigurationSnapshot>, String)

Adds a reference to an assembly to projects.

AddReferences(IAsyncUpdatable<IProjectConfigurationSnapshot>, IEnumerable<String>)

Adds a reference to an assembly to projects.

AddSharedProjectReference(IAsyncUpdatable<IProjectSnapshot>, IProjectSnapshot)

Adds a reference to a shared project in the solution.

AddSharedProjectReference(IAsyncUpdatable<IProjectSnapshot>, String)

Adds a reference to a shared project in the solution.

AddSharedProjectReferences(IAsyncUpdatable<IProjectSnapshot>, IEnumerable<String>)

Adds references to a shared projects in the solution.

AddSolutionConfiguration(IAsyncUpdatable<ISolutionSnapshot>, String, String, Boolean)

Add a Solution Configuration.

BuildAsync(IAsyncQueryable<ISolutionSnapshot>, CancellationToken)

Builds the solution in the project.

BuildAsync(IProjectSnapshot, CancellationToken)

Builds the project in the solution.

CleanAsync(IAsyncQueryable<ISolutionSnapshot>, CancellationToken)

Cleans the solution in the project.

CleanAsync(IProjectSnapshot, CancellationToken)

Cleans the project in the solution.

CreateFile(IAsyncUpdatable<IProjectSnapshot>, String, String, String)

Creates a new file inside projects.

CreateFolder(IAsyncUpdatable<IProjectSnapshot>, String)

Creates a new folder inside projects.

CreateSolutionFolder(IAsyncUpdatable<ISolutionFolderSnapshot>, String)

Creates a solution folder to a solution.

CreateSolutionFolder(IAsyncUpdatable<ISolutionSnapshot>, String)

Creates a solution folder inside a solution.

DebugLaunchAsync(IAsyncQueryable<ISolutionSnapshot>, CancellationToken)

Debug the solution in the project.

DebugLaunchAsync(IProjectSnapshot, CancellationToken)

Debugs the project in the solution.

Delete(IAsyncUpdatable<IAssemblyReferenceSnapshot>)

Deletes a set of assembly references from a project.

Delete(IAsyncUpdatable<IBuildPropertySnapshot>)

Deletes a set of build property.

Delete(IAsyncUpdatable<IFileSnapshot>)

Deletes a set of files from a project and the disk.

Delete(IAsyncUpdatable<IFolderSnapshot>)

Deletes a set of folders in the project.

Delete(IAsyncUpdatable<IProjectReferenceSnapshot>)

Deletes a set of project references from a project.

Delete(IAsyncUpdatable<ISolutionFolderSnapshot>)

Deletes a set of solution folders.

DeleteConfigurationDimensionValue(IAsyncUpdatable<IProjectSnapshot>, String, String)

Deletes a value from a configuration dimension.

DeleteSolutionConfiguration(IAsyncUpdatable<ISolutionSnapshot>, String)

Removes the SolutionConfiguration object from the collection.

DeployAsync(IAsyncQueryable<ISolutionSnapshot>, CancellationToken)

Deploy the solution in the project.

DuplicateLaunchProfile(IAsyncUpdatable<IProjectSnapshot>, String, String, String)

Duplicates an existing launch profile.

Exclude(IAsyncUpdatable<IFileSnapshot>)

Excludes a set of files from a project.

Exclude(IAsyncUpdatable<IProjectSnapshot>)

Excludes a set of projects from the current solution.

Exclude(IProjectSnapshot)

Excludes a single project for the solution.

LaunchAsync(IAsyncQueryable<ISolutionSnapshot>, CancellationToken)

Run the solution in the project.

LaunchAsync(IProjectSnapshot, CancellationToken)

Runs the project in the solution.

RebuildAsync(IAsyncQueryable<ISolutionSnapshot>, CancellationToken)

Rebuild the solution in the project.

RebuildAsync(IProjectSnapshot, CancellationToken)

Rebuilds the project in the solution.

ReloadProject(IAsyncUpdatable<ISolutionSnapshot>, String)

Reloads a project in the solution.

RemoveLaunchProfile(IAsyncUpdatable<IProjectSnapshot>, String)

Removes an existing launch profile.

Rename(IAsyncUpdatable<IProjectSnapshot>, String)

Renames a Project.

RenameFile(IAsyncUpdatable<IProjectSnapshot>, String, String)

Renames a file in the project(s).

RenameFolder(IAsyncUpdatable<IProjectSnapshot>, String, String)

Renames a folder in a project.

RenameLaunchProfile(IAsyncUpdatable<IProjectSnapshot>, String, String)

Renames an existing launch profile.

RenameSolutionFolder(IAsyncUpdatable<ISolutionSnapshot>, String, String)

Creates a solution folder inside a solution.

RunCustomTool(IAsyncQueryable<IFileSnapshot>)
Obsolete.

Runs the custom code generator for files.

RunCustomToolAsync(IAsyncQueryable<IFileSnapshot>, CancellationToken)

Runs the custom code generator for files.

RunCustomToolAsync(IFileSnapshot, CancellationToken)

Runs the custom code generator for a single file.

SaveAsync(IAsyncQueryable<IProjectSnapshot>, CancellationToken)

Saves projects to disk.

SaveAsync(IAsyncQueryable<ISolutionSnapshot>, CancellationToken)

Saves solutions to disk.

SaveAsync(IProjectSnapshot, CancellationToken)

Saves a single project to disk.

SaveAsync(ISolutionSnapshot, CancellationToken)

Saves the solution to disk.

SetBuildPropertyValue(IAsyncUpdatable<IProjectConfigurationSnapshot>, String, String, String)

Sets value to a project configuration build property.

SetCopyToLocal(IAsyncUpdatable<IAssemblyReferenceSnapshot>, Boolean)

Sets the value of copy to Local for an assembly reference

SetCopyToLocal(IAsyncUpdatable<IProjectReferenceSnapshot>, Boolean)

Sets the value of copy to Local for a project reference

SetEvaluatedUIPropertyValue(IAsyncUpdatable<IProjectSnapshot>, String, String, ReadOnlyCollection<ConfigurationDimensionValue>, Object)

Sets the evaluated value of a property exposed through the property pages.

SetLaunchProfilePropertyValue(IAsyncUpdatable<ILaunchProfileSnapshot>, String, Object)

Sets the value of a property exposed through the launch profiles.

SetName(IAsyncUpdatable<ISolutionFolderSnapshot>, String)

Sets the name of a solution folder.

SetPackageReferenceVersion(IAsyncUpdatable<IProjectSnapshot>, String, String)

Sets the NuGet package reference version.

SetPropertyValue(IAsyncUpdatable<IFileSnapshot>, String, Object)

Sets value to a source item property.

SetPropertyValue(IAsyncUpdatable<IProjectConfigurationSnapshot>, String, Object)

Sets value to a project configuration property.

SetPropertyValue(IAsyncUpdatable<IProjectSnapshot>, String, Object)

Sets value to a project property.

SetPropertyValue(IAsyncUpdatable<ISolutionSnapshot>, String, Object)

Sets value to a solution property.

SetStartupProjects(IAsyncUpdatable<ISolutionSnapshot>, String[])

Set the startup projects in the solution.

SetUnevaluatedUIPropertyValue(IAsyncUpdatable<IProjectSnapshot>, String, String, ReadOnlyCollection<ConfigurationDimensionValue>, String)

Sets the unevaluated value of a property exposed through the property pages.

UnloadProject(IAsyncUpdatable<ISolutionSnapshot>, String)

Unloads a project in the solution.

WaitIntellisenseReadyAsync(IAsyncQueryable<IProjectSnapshot>, CancellationToken)

Wait intellisense operation progress of projects to be ready.

WaitIntellisenseReadyAsync(IAsyncQueryable<ISolutionSnapshot>, CancellationToken)

Wait intellisense operation progress of the solution to be ready.

WaitIntellisenseReadyAsync(IProjectSnapshot, CancellationToken)

Wait intelliSense operation progress of a single project to be ready.

Applies to