I have created a dll library that I use across different projects. I've tried to read the version with:
Assembly assembly = Assembly.LoadFrom("MyAssembly.dll"); Version ver = assembly.GetName().Version;
But it returns always 0.0.0.0 I've correctly set the version in the project's Main Settings. How can I read the version number? Thank you!