ISolutionSnapshot Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Describes a Solution in Visual Studio. Holds useful information in regards to a Solution like its Path, Solution Folders, Solution Configurations, etc.
[Newtonsoft.Json.JsonConverter(typeof(Microsoft.VisualStudio.ProjectSystem.Query.Framework.ProjectModelEntityJsonConverter), new System.Object[] { Mono.Cecil.CustomAttributeArgument })]
public interface ISolutionSnapshot : Microsoft.VisualStudio.ProjectSystem.Query.IEntityWithId<Microsoft.VisualStudio.ProjectSystem.Query.ISolutionSnapshot>
[<Newtonsoft.Json.JsonConverter(typeof(Microsoft.VisualStudio.ProjectSystem.Query.Framework.ProjectModelEntityJsonConverter), new System.Object[] { Mono.Cecil.CustomAttributeArgument })>]
type ISolutionSnapshot = interface
interface IEntityWithId<ISolutionSnapshot>
interface IEntityWithId
interface IEntity
Public Interface ISolutionSnapshot
Implements IEntityWithId(Of ISolutionSnapshot)
- Attributes
-
Newtonsoft.Json.JsonConverterAttribute
- Implements
Properties
ActiveConfiguration |
Gets the active configuration for the solution. |
ActivePlatform |
Gets the active platform for the solution. |
BaseName |
Gets the base name of the solution. |
Directory |
Gets the directory where the solution is saved. |
FileName |
Gets the file name of the solution (solution name and extension). |
Guid |
Gets the guid for the solution. |
Id |
Gets the identity of the object. (Inherited from IEntityWithId) |
Path |
Gets the path to the solution file. |
Projects |
Gets a queryable collection of project(s) in the solution. |
Properties |
Gets a queryable collection of properties of the solution. |
PropertiesAvailableStatus |
Gets available properties status of a Solution. |
SolutionConfigurations |
Gets a queryable collection of solution configurations of the solution. |
SolutionFolders |
Gets a queryable collection of solution folder(s) in the solution. |
StartupProjects |
Gets a queryable collection of startup projects in the solution. |
Methods
AsQueryable() |
Creates a queryable returning this entity object. (Inherited from IEntityWithId<TEntity>) |
Extension Methods
ProjectsByCapabilities(ISolutionSnapshot, String) |
Gets all projects matching capabilities condition. |
ProjectsByPath(ISolutionSnapshot, String[]) |
Gets all projects matching a set of known paths. |
ProjectsByProjectGuid(ISolutionSnapshot, Guid[]) |
Gets all projects matching a set of known Project Guids. |
PropertiesByName(ISolutionSnapshot, String[]) |
Gets solution properties with a set of known names. |
AddProject(ISolutionSnapshot, String) |
Adds a project to a solution. |
SaveAsync(ISolutionSnapshot, CancellationToken) |
Saves the solution to disk. |