Interface IAssemblyInfo
Represents information about the assembly that is defined by its main module file path FilePath.
public interface IAssemblyInfo
- Extension Methods
Properties (9)
AssembliesReferences
Gets a read-only list of assemblies references, representing assemblies referenced by this assembly.
IReadOnlyList<IAssemblyReference> AssembliesReferences { get; }
Property Value
FileNameWithoutExtension
Gets the assembly main module file name without the ".dll" or ".exe" extension.
string FileNameWithoutExtension { get; }
Property Value
FilePath
Gets the assembly main module file path.
IAbsoluteFilePath FilePath { get; }
Property Value
IsStrongNamed
Gets a value indicating whether this assembly is strong named or not.
bool IsStrongNamed { get; }
Property Value
PDBAvailable
Gets a value indicating whether this assembly corresponding PDB file is available or not.
bool PDBAvailable { get; }
Property Value
PlatformTarget
Gets the assembly platform target value.
PlatformTarget PlatformTarget { get; }
Property Value
TargetFrameworkName
Gets the target framework name (TFM) of the assembly.
string TargetFrameworkName { get; }
Property Value
Remarks
Returns a string such as 'net5.0', 'net5.0-windows', 'netcoreapp3.1', 'netstandard2.0', 'net462', 'net4x'.
Related documentation: https://github.com/dotnet/designs/blob/main/accepted/2020/net5/net5.md
TargetRuntime
Gets the assembly target runtime version.
Version TargetRuntime { get; }
Property Value
Version
Gets the assembly version, the version specified with the System.Reflection.AssemblyVersionAttribute attribute.
Version Version { get; }