IPostSharpEnvironment.LoadAssemblyFromFile Method |
Loads an Assembly given its file name.
Namespace: PostSharp.Extensibility
Assembly: PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
Assembly LoadAssemblyFromFile( string fileName )
Parameters
- fileName
- Type: System.String
Full assembly path.
Return Value
Type: AssemblyThe Assembly.
Use this method instead of LoadFile(String).
You cannot load two assemblies with a different path and the same identity (strong name) into PostSharp. |