警告AD1000 [英] Warning AD1000
问题描述
我正在努力学习Xamarin。 当我创建一个跨平台项目时,我得到129个错误,都与此类似:
I'm trying to learn Xamarin. When I go to create a cross platform project, I get 129 errors, all similar to this:
警告 AD1000 分析器实例Microsoft.CodeQuality.Analyzers.ApiDesignGuidelines.UseEventsWhereAppropriateAnalyzer不能源自C:\USERS \<用户名> \ APPDATA \洛杉矶\ MICROSOFT \ VISUALSTUDIO \15.0_A339E131 \ EXTENSIONS \ RKTP055L.0AK \ Microsoft.CodeQuality.Analyzers.dll:
无法加载文件或程序集"Microsoft.CodeAnalysis,Version = 2.3.0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35"或其依赖项之一。系统找不到指定的文件。 1 有效
Warning AD1000 An instance of analyzer Microsoft.CodeQuality.Analyzers.ApiDesignGuidelines.UseEventsWhereAppropriateAnalyzer cannot be created from C:\USERS\<username>\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_A339E131\EXTENSIONS\RKTP055L.0AK\Microsoft.CodeQuality.Analyzers.dll:
Could not load file or assembly 'Microsoft.CodeAnalysis, Version=2.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.. 1 Active
现在,我检查了所有129个文件位置,并且所有文件实际上就在那里。
Now, I've checked all 129 file locations, and all the files are actually there.
这是Visual Studio 2017 Professional的全新安装。 版本15.2(26430.16)。
This is a fresh install of Visual Studio 2017 Professional. Version 15.2 (26430.16).
我尝试更新解决方案中的软件包,但仍然会遇到相同的错误。
I've tried updating the packages in the solutions, and I still get the same errors.
有什么想法吗?
谢谢。 -Michael
Thanks. -Michael
推荐答案
因此,事实证明这是代码分析扩展。
So, it turns out it's the code analysis extension.
现在,有一个修复程序,但系统性能成本。 这是写作。
Now, there is a fix but it comes at a system performance cost. Here's the write up.
http://tahirhassan.blogspot.com/2017/
http://tahirhassan.blogspot.com/2017/
这篇关于警告AD1000的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!