具有ReSharper 10 Ultimate的Visual Studio 2015 Enterprise-无法正确解决 [英] Visual Studio 2015 Enterprise with ReSharper 10 Ultimate -- Cannot be properly resolved

查看:117
本文介绍了具有ReSharper 10 Ultimate的Visual Studio 2015 Enterprise-无法正确解决的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了 Visual Studio 2015 Enterprise 14.0.24720.00版本1 ReSharper 10 Ultimate 10.0.2版.我有一个使用AtScript语法引用Angular2指令模块作为其注释的打字稿文件.但是,ReSharper指出了以下错误:

符号指令"无法正确解析,可能位于无法访问的模块中.

下面是完整的错误工具提示.

该应用程序将按预期进行编译和运行,并且该应用程序的角度部分也可以根据需要运行.看来这是一个ReSharper误报.有没有人知道其他仅禁用ReSharper或忽略警告的解决方法?

解决方案

问题只是ReSharper最新版本的一个错误,如果您暂停ReSharper,问题就消失了,所有源代码都按预期工作了. >

更新

此问题已在 ReSharper 2016.1 版本.

I have Visual Studio 2015 Enterprise, version 14.0.24720.00 Update 1 as well as ReSharper 10 Ultimate, version 10.0.2 installed. I have a typescript file that is using AtScript syntax to refer to the Angular2 directive module, as its annotation. However, ReSharper is stating the following error:

Symbol 'Directive' cannot be properly resolved, probably it is located in inaccessible module.

Below is the full error tooltip.

The application compiles and runs as expected, and the angular portions of the application also function as desired. It appears as though this is a ReSharper false negative. Is anyone familiar with a workaround other that simply disabling ReSharper or ignoring the warning?

解决方案

The issue is simply a bug with the latest version of ReSharper, if you Suspend ReSharper the issue simply goes away and all the source code works as expected.

Update

This has since been addressed in the ReSharper 2016.1 version.

这篇关于具有ReSharper 10 Ultimate的Visual Studio 2015 Enterprise-无法正确解决的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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