protected override void ValidateRootMoniker(string rootMoniker){
// We override this method to avoid reading the registry in a non-VSA scenario
if (this.genStartupClass)
base.ValidateRootMoniker(rootMoniker);
else if (rootMoniker == null || rootMoniker.Length == 0)
throw new VsaException(VsaError.RootMonikerInvalid);
}