Click to See Complete Forum and Search --> : deleted file still is used in Windows Form Application - c#


sofi
10-31-2011, 04:02 AM
Hello everyone,

I have written windows form application in C#,which gets commands from my admin page. When i try to reload resources for my C# application, it normally reloads all resources (deletes old ones and downloads new ones).

My problem is that, resource that is displayed at main screen of my program still displays the old resource. In fact it deletes old resources and downloads new ones, but still it always show old one till i restart the program.

Please, can anyone help me to clear cash that Visual Studio is using during runtime? :confused: so that without restarting it will show my new resource.

Thanks much for attention

Mfriscia
11-08-2011, 08:42 PM
Is it a website? Set a header in the master page or code behind for pragma-no-cache.