IntelliSense不断给出[失败]找不到路径C:\ TEMP的一部分 [英] IntelliSense keeps giving [Failure] Could not find a part of the path C:\TEMP

查看:63
本文介绍了IntelliSense不断给出[失败]找不到路径C:\ TEMP的一部分的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

更改临时文件夹后,我在VS2015中遇到了IntelliSense的问题,抱怨找不到临时文件夹(其他应用程序,包括VS2015,找到新位置也很好).

After changing my temporary folder, I got an issue with IntelliSense in VS2015 complaining it cannot find the temp folder (other applications, including VS2015, find the new location just fine).

我在启动项目后收到的错误(似乎在任何类型的解决方案,C#,ASP.NET等情况下都会发生)是在Visual Studio 2015的输出窗口中反复出现此消息:

The error I receive after firing up a project (seems to happen with any type of solution, C#, ASP.NET etc) is repeatedly this message in the output window of 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 位置的流氓引用,但这仍然存在.有人知道如何解决这个问题吗?

I think I replaced all rogue references to the R:\TMP location in the registry, but this one remains. Anyone any idea how to fix this?

推荐答案

  1. 退出Visual Studio
  2. 删除所有非项目文件(bin,obj..vs,_ReSharper.Caches文件夹,*.suo文件,...)
  3. 启动VS并重建

那为我解决了.

这篇关于IntelliSense不断给出[失败]找不到路径C:\ TEMP的一部分的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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