private static Version GetVersion() { var thisAssembly = typeof (DbDeploymentManager).Assembly; return thisAssembly.GetName().Version; }