使用VS 2017的ADL工具进行USQL单元测试-升级到2.3.4000.x后出现错误 [英] USQL Unit testing with ADL tools for VS 2017 - Error after upgrading to 2.3.4000.x

查看:108
本文介绍了使用VS 2017的ADL工具进行USQL单元测试-升级到2.3.4000.x后出现错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

将VS的ADL工具升级到2.3.4000.x版后,其中一个团队成员出现了以下错误.

One of the team member after upgrading the ADL tools for VS to version 2.3.4000.x, getting the below error..

错误:(-1,-1)'E_CSC_SYSTEM_INTERNAL:内部错误!

Error : (-1,-1) 'E_CSC_SYSTEM_INTERNAL: Internal error!

ObjectManager发现无效数量的修复程序.

The ObjectManager found an invalid number of fixups.

这通常表明格式化程序存在问题." 编译失败!

This usually indicates a problem in the Formatter.' Compile failed!

试图降级到版本(2.3.3000.2),并没有太大帮助.

Tried to downgrade back to version ( 2.3.3000.2 ), it didn't help much.

如果遇到类似问题,找到原因并解决,请分享.

If encountered similar issue, found the reason and resolved it, please share it.

推荐答案

尝试了一些不成功的选项后,决定清理USQLDataRoot中的文件,包括localrunmetadata和 catalog 文件夹.不过,当我提交创建数据库的工作时,没有出现错误,但是没有创建数据库.

After trying out few unsuccessful options, decided to clean up the files in USQLDataRoot including localrunmetadata and catalog folder. Still, when I submit a job to create a database, there was no error, but it didn’t create the database.

我们有一些Powershell脚本来设置数据库和其他对象.运行powershell脚本,该脚本创建了数据库和过程.这样我们就可以成功运行测试.再检查一遍,确保构建平台设置为"x64".

We had some powershell scripts to setup the database and other objects. Ran the powershell script, which created the database and procedures. Then we were able to run the tests successfully. One more thing to double check, make sure build platform is set to "x64".

这篇关于使用VS 2017的ADL工具进行USQL单元测试-升级到2.3.4000.x后出现错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆