-1

I have a MVC web application and I have deployed it.

After that I have modified a .js file which alone needs to be moved to production. I did moved the .js file and it doesn't take the latest changes js file in production, instead it use only the previous one during the deployment.

My question is
1. Is the .js files are also get complied along with the .dll files?
2. Is there a way to move the modified .js file alone to the production without moving the complied code?

Divyang Desai
  • 7,483
  • 13
  • 50
  • 76
Jey
  • 107
  • 2
  • 12

1 Answers1

0

That may be because of client browser caching. please check to remove caching. So, just CTR + Shift + Delete and clear cached data.

Is the .js files are also get complied along with the .dll files

No, always calls file will complied.

Is there a way to move the modified .js

Simple way is to replace your latest js file with old js file

production without moving the complied code?

No, need to deploy whole code all the times.

Moreover, you can go though a document: Determining What Files Need to Be Deployed

And this: https://stackoverflow.com/a/9322505

Community
  • 1
  • 1
Divyang Desai
  • 7,483
  • 13
  • 50
  • 76