Is it possible to get AssemblyVersion from Assembly without loading it into the process (From file)?

    1 answer 1

    Read AssemblyName calling System.Reflection.AssemblyName.GetAssemblyName(string assemblyFile); , take the Version from the received object.

     using System; using System.Reflection; public class AssemblyName_GetAssemblyName { public static void Main() { AssemblyName myAssemblyName = AssemblyName.GetAssemblyName("MyAssembly.exe"); Console.WriteLine(myAssemblyName.Version); } } 
    • Thank you very much! - Leon0999