Class VsProjectExtensions
Extensions class that provides common automation tasks rolled up under standard extension methods that support the VsProject model.
Inherited Members
Namespace: CodeFactory.VisualStudio
Assembly: CodeFactory.VisualStudio.dll
Syntax
public static class VsProjectExtensions
Methods
| Improve this Doc View SourceHasReferenceLibraryAsync(VsProject, string)
Extension method that determines if a project reference has been loaded.
Declaration
public static Task<bool> HasReferenceLibraryAsync(this VsProject source, string libraryName)
Parameters
Type | Name | Description |
---|---|---|
VsProject | source | Source project to search |
string | libraryName | The full name of the library to confirm exists. |
Returns
Type | Description |
---|---|
Task<bool> | boolean flag to determine if the library was found. |