ProjectCollection.GetLoadedProjects Method
Gets all projects whose project path matches the given path.
MSBuild is now included in Visual Studio instead of the .NET Framework.You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.
Namespace: Microsoft.Build.Evaluation
Assembly: Microsoft.Build (in Microsoft.Build.dll)
Syntax
'Declaration
Public Function GetLoadedProjects ( _
fullPath As String _
) As ICollection(Of Project)
public ICollection<Project> GetLoadedProjects(
string fullPath
)
public:
ICollection<Project^>^ GetLoadedProjects(
String^ fullPath
)
member GetLoadedProjects :
fullPath:string -> ICollection<Project>
public function GetLoadedProjects(
fullPath : String
) : ICollection<Project>
Parameters
fullPath
Type: System.StringThe path to a project file to be matched.
Return Value
Type: ICollection<Project>
Returns all projects whose project path matches the given path.
Remarks
There may be more than one project with the given path because projects are also distinguished by global properties and/or tools version.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.