【发布时间】:2017-03-22 13:49:18
【问题描述】:
更改我的临时文件夹后,我在 VS2015 中遇到 IntelliSense 问题,抱怨找不到临时文件夹(其他应用程序,包括 VS2015,找到新位置就好了)。
我在启动项目后收到的错误(似乎发生在任何类型的解决方案中,C#、ASP.NET 等)在 Visual Studio 2015 的输出窗口中反复出现此消息:
[Failure] Could not find a part of the path 'R:\TMP\.NETFramework,Version=v4.0.AssemblyAttributes.cs'.
[Failure] Could not find a part of the path 'R:\TMP\.NETFramework,Version=v4.0.AssemblyAttributes.cs'.
[Failure] Could not find a part of the path 'R:\TMP\.NETFramework,Version=v4.0.AssemblyAttributes.cs'.
[Failure] Could not find a part of the path 'R:\TMP\.NETFramework,Version=v4.0.AssemblyAttributes.cs'.
[Failure] Could not find a part of the path 'R:\TMP\.NETFramework,Version=v4.0.AssemblyAttributes.cs'.
[Failure] Could not find a part of the path 'R:\TMP\.NETFramework,Version=v4.0.AssemblyAttributes.cs'.
[Failure] Could not find a part of the path 'R:\TMP\.NETFramework,Version=v4.0.AssemblyAttributes.cs'.
我想我替换了注册表中对R:\TMP 位置的所有恶意引用,但这个仍然存在。有人知道如何解决这个问题吗?
【问题讨论】:
-
您好 Abel,请尝试移除或删除以下文件夹:C:\Users\\AppData\Local\Microsoft\VisualStudio\14.0 和 C:\Users\\AppData\Roaming\Microsoft\VisualStudio\14.0.删除你项目文件夹中的.suo文件,启动VS打开你的项目进行重建。
标签: visual-studio visual-studio-2015 intellisense