DependencyAttribute Class
Indicates when a dependency is to be loaded by the referring assembly. This class cannot be inherited.
Assembly: mscorlib (in mscorlib.dll)
This attribute is used by the Native Image Generator (Ngen.exe) to generate native assembly images.
Apply the DependencyAttribute attribute to a dependent assembly with a value of the LoadHint enumeration to specify when a referring assembly is to load a dependency.
A dependency that is likely to be loaded (Always) will cause Ngen.exe to bind to that dependency. Using this hint allows Ngen.exe to generate code that will result in a reduced working set and improved throughput but at the cost of always loading the dependency when the parent assembly is loaded.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.