Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deleted view still shows
Message
 
 
General information
Forum:
ASP.NET
Category:
MVC
Environment versions
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01613115
Message ID:
01613149
Views:
34
>>Hi everybody,
>>
>>This is a very strange situation. We're changing Advanced Search functionality in the application. One area used to have a view which is already deleted and therefore a view from Shared folder is supposed to be used. However, even though the view is deleted, it still shows up. I don't understand how is it possible.
>>
>>The solution doesn't have that view in that area anymore in the Solution Explorer. I cleaned the solution and re-built a few times. I also ran the application in 3 different browsers and every time the old deleted view somehow showed up.
>>
>>I can not explain it. I deleted views in other areas and they worked correctly. This time it was a different person who deleted that view and posted changes to TFS. However, why would it make a difference?
>>
>>Thanks in advance.
>
>What do you mean by 'View'?
>Where's the logic that causes a default view to be used if it is not present?

I meant cshtml file. That file is supposed to be deleted (it's not shown in the Solution Explorer) but it still shows instead of default view from the Shared folder. I suspect it's because it's not really deleted in the directory structure. I will manually delete the view from the folder, but this is inconvenient. I myself deleted a few views and when I tested everything worked fine for me. I guess the other developers may encounter the same situation as I encountered now with that view deleted by somebody else.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform