diff --git a/packages/fx-core/resource/package.nls.json b/packages/fx-core/resource/package.nls.json index 0b5ce72c5a..37de0d00ca 100644 --- a/packages/fx-core/resource/package.nls.json +++ b/packages/fx-core/resource/package.nls.json @@ -956,7 +956,7 @@ "error.yaml.InvalidActionInputError": "The '%s' action cannot be completed as the following parameter(s): %s, are either missing or have an invalid value in the provided yaml file: %s. Ensure that the required parameters are provided and have valid values and try again.", "error.common.InstallSoftwareError": "Unable to install %s. You can install manually and restart Visual Studio Code if you are using the Toolkit in Visual Studio Code.", "error.common.VersionError": "Unable to find a version satisfying the version range %s.", - "error.common.MissingEnvironmentVariablesError": "Missing environment variables '%s' for file: %s. Please edit the .env file '%s' or '%s', or adjust system environment variables. For new Microsoft 365 Agents Toolkit projects, make sure you've run provision or debug to set these variables correctly.", + "error.common.MissingEnvironmentVariablesError": "Missing environment variables '%s' for file: %s. Please edit the .env file '%s' or '%s', or adjust system environment variables. For new projects, run local debugging or provision a remote environment to set these variables.", "error.common.InvalidProjectError": "This command only works for project created by Microsoft 365 Agents Toolkit. 'm365agents.yml' or 'm365agents.local.yml' not found", "error.common.InvalidProjectError.display": "This command only works for project created by Microsoft 365 Agents Toolkit. Yaml file not found: %s", "error.common.FileNotFoundError": "The file or directory is not found: '%s'. Check if it exists and you have permission to access it.", diff --git a/packages/fx-core/tests/core/FxCore.test.ts b/packages/fx-core/tests/core/FxCore.test.ts index ed15801bbc..6a114c9b61 100644 --- a/packages/fx-core/tests/core/FxCore.test.ts +++ b/packages/fx-core/tests/core/FxCore.test.ts @@ -56,7 +56,6 @@ import { TelemetryEvent } from "../../src/common/telemetry"; import templateConfigModule from "../../src/common/templates-config.json"; import * as CommonTools from "../../src/common/tools"; import { MetadataV3, VersionSource, VersionState } from "../../src/common/versionMetadata"; -import { ActionInjector } from "../../src/component/configManager/actionInjector"; import { DriverDefinition, DriverInstance, @@ -68,7 +67,6 @@ import { UnresolvedPlaceholders, } from "../../src/component/configManager/interface"; import { YamlParser } from "../../src/component/configManager/parser"; -import { LocalMcpPrefix } from "../../src/component/constants"; import { coordinator } from "../../src/component/coordinator"; import { UpdateAadAppDriver } from "../../src/component/driver/aad/update"; import * as buildAadManifest from "../../src/component/driver/aad/utility/buildAadManifest"; @@ -528,7 +526,7 @@ describe("Core basic APIs", () => { assert.include( res.error.message, - "For new Microsoft 365 Agents Toolkit projects, make sure you've run provision or debug to set these variables correctly." + "For new projects, run local debugging or provision a remote environment to set these variables." ); } });