NAnt SDK Documentation - v0.92 |

# SolutionBase.LoadProjects Method

Loads the projects from the file system and stores them in an instance variable.

[Visual Basic]
Protected Sub LoadProjects( _
ByVal gacCache As GacCache, _
ByVal refResolver As ReferencesResolver, _
ByVal explicitProjectDependencies As Hashtable _
)
[C#]
protected void LoadProjects(
GacCache gacCache,
ReferencesResolver refResolver,
Hashtable explicitProjectDependencies
);

#### Parameters

gacCache
  GacCache instance to use to determine whether an assembly is located in the Global Assembly Cache.
refResolver
  ReferencesResolver instance to use to determine location and references of assemblies.
explicitProjectDependencies
  TODO

#### Exceptions

Exception Type | Condition
--- | ---
BuildException | A project GUID in the solution file does not match the actual GUID of the project in the project file.

#### See Also

SolutionBase Class | NAnt.VSNet Namespace