Summary
Resolves an assembly reference.
- Assembly
- NAnt
.VSNet .dll - Namespace
- NAnt
.VSNet - Containing Type
- Managed
Assembly Reference
Syntax
protected override string ResolveAssemblyReference()
Remarks
Visual Studio .NET uses the following search mechanism :
- The project directory.
- The directories specified in the "ReferencePath" property, which is stored in the .USER file.
- The .NET Framework directory (see KB306149)
-
The directories specified under the following registry keys:
- HKLM\SOFTWARE\Microsoft\.NETFramework\AssemblyFolders
- HKCU\SOFTWARE\Microsoft\.NETFramework\AssemblyFolders
- HKLM\SOFTWARE\Microsoft\VisualStudio\<major version>.<minor version>\AssemblyFolders
- HKCU\SOFTWARE\Microsoft\VisualStudio\<major version>.<minor version>\AssemblyFolders
Future versions of Visual Studio .NET will also check in:
- HKLM\SOFTWARE\Microsoft\.NETFramework\AssemblyFoldersEx
- HKCU\SOFTWARE\Microsoft\.NETFramework\AssemblyFoldersEx
- The HintPath.
Return Value
Type | Description |
---|---|
string |
The full path to the resolved assembly, or null
if the assembly reference could not be resolved.
|