Malcolm
Malcolm

Reputation: 12864

Problem when running MVC where javascript files are not updating

I have VS2008 developing a MVC app 1.0.

I have added a .js file to app.

But when I make changes and start debugging the app the javascript is using previous version and not my additional changes.

In the debugger the js file has the suffix [dynamic] after the name of the file.

What is causing this? I have asked similar question before but answers don't help.

Malcolm

Upvotes: 0

Views: 2495

Answers (2)

CraigF
CraigF

Reputation: 101

Restart your Cassini server (the visual studio server with an icon down by the clock)

Upvotes: 0

Arnis Lapsa
Arnis Lapsa

Reputation: 47597

Browser caches previous version of your js file.

Just hit ctrl+shif+del => enter.

For internet explorer - tools, internet options, delete...

Upvotes: 3

Related Questions