gpt4 book ai didi

testing - VSTest 任务不执行为平台 x64 构建的测试 dll

转载 作者:行者123 更新时间:2023-11-28 19:54:18 25 4
gpt4 key购买 nike

我在 TFS 2017 的构建定义中使用 Visual Studio 测试任务版本 2。构建成功并生成测试 dll 后,VSTest 任务无法运行构建的测试 dll在 x64 平台上。我收到以下消息:

Test run will use DLL(s) built for framework Framework45 and platform x86.Following DLL(s) will not be part of run: 'TestDllName.dll' is built for Framework FrameworkCore10 and Platform x64.

如何解决这个问题?

最佳答案

添加额外的 VSTest 命令行参数 /Framework:FrameworkCore10

关于testing - VSTest 任务不执行为平台 x64 构建的测试 dll,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51612555/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com