VS Code 无法下载测试应用程序的符号

VS Code can't download symbols for test app

我想在 BC18 中为我的应用 运行 创建一个测试环境,但我无法下载必要的符号。我创建了一个新工作区以及一个 .vscode/launch.json 和一个 app.json 文件,其中包含以下属性:

"dependencies": [
        {
            "id": "65d313b7-f655-41af-9325-3ade0d3489e9",
            "name": "Main App",
            "publisher": "My Company",
            "version": "1.0.1.0"
        }
    ],
    "test": "17.0.0.0"

但是,在尝试下载符号时,我总是遇到以下错误:

[2021-05-18 15:39:06.44] The request for path /BC/dev/packages?publisher=Microsoft&appName=Test&versionText=17.0.0.0&tenant=default failed with code NotFound. Reason: No published package matches the provided arguments.
[2021-05-18 15:39:06.44] The following dependencies will be queried for propagated dependencies:
Application by Microsoft (18.0.0.0)
[2021-05-18 15:39:06.44] Sending request to http://ll-bc-at:7049/BC/dev/packages?publisher=Microsoft&appName=Application&versionText=18.0.0.0&tenant=default
[2021-05-18 15:39:06.45] Could not download reference symbols. Please ensure that:
1. The correct server name and instance are specified in the launch.json file.
2. The correct application version is specified in the app.json file.
3. The dependencies are correctly specified in the app.json file.

我已经尝试重新安装容器,确保包含测试工具包,并通过访问测试工具中的默认测试套件确认它正常工作,但到目前为止没有任何成功。 test 使用不同的版本也没有效果。

test 属性 已弃用。您需要为要使用的各种测试扩展添加依赖项。

我通常使用这些依赖项作为起点:

{
    "id": "e7320ebb-08b3-4406-b1ec-b4927d3e280b",
    "name": "Any",
    "publisher": "Microsoft",
    "version": "17.0.0.0"
},
{
    "id": "23de40a6-dfe8-4f80-80db-d70f83ce8caf",
    "name": "Test Runner",
    "publisher": "Microsoft",
    "version": "17.0.0.0"
},
{
    "id": "dd0be2ea-f733-4d65-bb34-a28f4624fb14",
    "name": "Library Assert",
    "publisher": "Microsoft",
    "version": "17.0.0.0"
},
{
    "id": "9856ae4f-d1a7-46ef-89bb-6ef056398228",
    "name": "System Application Test Library",
    "publisher": "Microsoft",
    "version": "17.0.0.0"
},
{
    "id": "5d86850b-0d76-4eca-bd7b-951ad998e997",
    "name": "Tests-TestLibraries",
    "publisher": "Microsoft",
    "version": "17.0.0.0"
}