Getting Assembly Version from AssemblyInfo.cs
As the documentation states, Assembly.GetExecutingAssembly() gets the assembly that the calling code was compiled inside of. If you want to be more explicit (and faster), you can write typeof(SomeType).Assembly, where SomeType is any type in the project you’re looking for.