Visual studio code VS代码可以';t下载测试应用程序的符号

Visual studio code VS代码可以';t下载测试应用程序的符号,visual-studio-code,automated-tests,dynamics-business-central,Visual Studio Code,Automated Tests,Dynamics Business Central,我想为运行在BC18中的应用程序创建一个测试环境,但下载必要的符号时遇到问题。我创建了一个新的工作区以及一个.vscode/launch.json和一个app.json-文件,其中包含以下属性: "dependencies": [ { "id": "65d313b7-f655-41af-9325-3ade0d3489e9", "name": "

我想为运行在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.

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

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

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

{
    "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"
}

谢谢,成功了。到目前为止,我查看的所有地方都只使用了
test
属性,而且我没有收到关于它被弃用的警告,所以我认为这不是问题所在。我理解这一点。关于这方面的文件当然可以改进。