def METHOD_NAME(self):
    if self.settings.compiler == "Visual Studio":
        if self.options.shared:
            raise ConanInvalidConfiguration("gf-complete doesn't support shared with Visual Studio")
        if self.version == "1.03":
            raise ConanInvalidConfiguration("gf-complete 1.03 doesn't support Visual Studio")