diff --git a/packages/fx-core/src/question/create.ts b/packages/fx-core/src/question/create.ts index ce7748dc00..691c7fcb66 100644 --- a/packages/fx-core/src/question/create.ts +++ b/packages/fx-core/src/question/create.ts @@ -184,10 +184,9 @@ function projectTypeQuestion(): SingleSelectQuestion { ProjectTypeOptions.bot(Platform.CLI), ProjectTypeOptions.tab(Platform.CLI), ProjectTypeOptions.me(Platform.CLI), - isOfficeXMLAddinEnabled() - ? ProjectTypeOptions.officeXMLAddin(Platform.CLI) - : ProjectTypeOptions.outlookAddin(Platform.CLI), + ProjectTypeOptions.officeXMLAddin(Platform.CLI), ProjectTypeOptions.officeAddin(Platform.CLI), + ProjectTypeOptions.outlookAddin(Platform.CLI), ]; return { name: QuestionNames.ProjectType, diff --git a/packages/fx-core/src/question/inputs/CreateProjectInputs.ts b/packages/fx-core/src/question/inputs/CreateProjectInputs.ts index 711938fae1..956b11d025 100644 --- a/packages/fx-core/src/question/inputs/CreateProjectInputs.ts +++ b/packages/fx-core/src/question/inputs/CreateProjectInputs.ts @@ -19,7 +19,8 @@ export interface CreateProjectInputs extends Inputs { | "tab-type" | "me-type" | "office-xml-addin-type" - | "office-addin-type"; + | "office-addin-type" + | "outlook-addin-type"; /** @description Select to Create an Outlook, Word, Excel, or PowerPoint Add-in */ "addin-host"?: "outlook" | "word" | "excel" | "powerpoint"; /** @description Capabilities */