Can't you get the version from the assembly directly, instead of its location? Something along the lines of `typeof(ApiServices).Assembly.GetCustomAttribute(typeof(AssemblyFileVersionAttribute))`...