I am working on a MVC web application with my friend. He just sent me a new version of a project. When I rebuilded it, I got warning and the browser opens the old version of a project.
Warning:
Warning 1 The file '..\ProjectX.Data.CF\DbContextDatabase.cs' could not be added to the project. Cannot add a link to the file E:\Naloge\ITC\ProjectXService 17.6\ProjectX.Data.CF\DbContextDatabase.cs. This file is within the project directory tree. ProjectX.Data.CF
This is the second time that this happend to me when he sent me new version, and last time I swiched computers because I couldn't fix this (So last time I ended up delleting SQL server and got other issues afterwards).Now I just tried cleaning project, restarting computer and cleaning folders:
- :\Windows\Microsoft.NET\Framework[64]\\Temporary ASP.NET Files
- :\Users\\AppData\Local\Microsoft\WebsiteCache
- :\ Documents and Settings\\Local Settings\Application Data\Microsoft\WebsiteCach
- :\Users\\Documents\Visual Studio 2013\Backup Files.
- :\ Users\\AppData\Local\assembly\dl3
- :\Users\\AppData\Local\Microsoft\Visual Studio\13.0\ProjectAssemblies
Why is still opening my old Project? Project works with no problem if I open it on third computer who didn't had any old versions of a project.