Mike Hildner
Mike Hildner

Reputation: 1164

When you change a string resource, what's the minimum that needs to be deployed?

Recently I fixed a typo in a .resx file. Compiled and put the MyApp.resources.dll in the bin\en folder of our test server, then did an iisreset. The text didn't change. Even decompiled to ensure my change was in there.

So I did a full-blown deployment and then I saw the change. I guess I need to include more than just the resource dll, wondering what, at a minimum, I would need to deploy.

Thanks, Mike

Upvotes: 3

Views: 209

Answers (1)

Serge Shultz
Serge Shultz

Reputation: 6068

That's because ASP.NET keeps using the DLLs cached in "Temporary asp.net files" folder.

Cleaning that folder should help. Also, "touching" the main project DLL will cause IIS/ASP.NET to pick up the files from the "bin" folder and update the "temporary" ones.

"C:\WINDOWS\Microsoft.NET\Framework\vXXXXXXX\Temporary ASP.NET Files"

Upvotes: 1

Related Questions