Reputation: 57189
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).
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'.
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?
Upvotes: 26
Views: 18533
Reputation: 2397
Related but maybe not exactly answering this question.
I had this issue but realized that the error message couldn't find v4.x.0
, so I changed the filename in the AppData/Local/TEMP/
directory as well as the versions inside the code. Then I had another error saying it was missing v4.y.0
. So, I copied the original file and had two files with both names and code pointing to both versions. I then ran the Clean Solution command and Rebuild command, restarted VS and then it worked.
Upvotes: 0
Reputation: 51
Just go to: Build, than select: Rebuild Solution ... As easy as that...
Upvotes: 0
Reputation: 4259
That fixed it for me.
Upvotes: 38