MSBuildWorkspace
Diagnostics
LoadMetadataForReferencedProjects
Properties
SkipUnrecognizedProjects
ApplyAdditionalDocumentTextChanged(DocumentId, SourceText)
ApplyAnalyzerReferenceAdded(ProjectId, AnalyzerReference)
ApplyAnalyzerReferenceRemoved(ProjectId, AnalyzerReference)
ApplyDocumentAdded(DocumentInfo, SourceText)
ApplyDocumentRemoved(DocumentId)
ApplyDocumentTextChanged(DocumentId, SourceText)
ApplyMetadataReferenceAdded(ProjectId, MetadataReference)
ApplyMetadataReferenceRemoved(ProjectId, MetadataReference)
ApplyProjectChanges(ProjectChanges)
ApplyProjectReferenceAdded(ProjectId, ProjectReference)
ApplyProjectReferenceRemoved(ProjectId, ProjectReference)
AssociateFileExtensionWithLanguage(String, String)
CanApplyChange(ApplyChangesKind)
CloseSolution()
Create()
Create(HostServices)
Create(IDictionary<String, String>)
Create(IDictionary<String, String>, HostServices)
OnWorkspaceFailed(WorkspaceDiagnostic)
OpenProjectAsync(String, IProgress<ProjectLoadProgress>, CancellationToken)
OpenProjectAsync(String, ILogger, IProgress<ProjectLoadProgress>, CancellationToken)
OpenSolutionAsync(String, IProgress<ProjectLoadProgress>, CancellationToken)
OpenSolutionAsync(String, ILogger, IProgress<ProjectLoadProgress>, CancellationToken)
TryApplyChanges(Solution)
net10.0-windows7.0
namespace Microsoft.CodeAnalysis.MSBuild
{
public sealed class MSBuildWorkspace : Workspace
{
protected override void ApplyMetadataReferenceAdded(ProjectId! projectId, MetadataReference! metadataReference);
}
}
.NET | 8.09.010.0 |
---|---|
.NET Framework | 4.7.24.84.8.1 |
Information specific to net10.0 | |
Platforms | This API is only available when you target a specific platform: |
Windows | 7.0 |
Information specific to net10.0-windows7.0 | |
Assembly | Microsoft.CodeAnalysis.Workspaces.MSBuild , Version=4.13.0.0, PublicKeyToken=31bf3856ad364e35 |
Referencing | Your project needs a package reference to |
Package | Microsoft.CodeAnalysis.Workspaces.MSBuild (4.13.0) net9.0 |
Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API