Can I rename and copy an assembly?

I recently discovered that you can copy the assembly that is being used by renaming the file and then making a copy. For instance.

C: \ Folder \ MyLibrary.dll
=> rename to C: \ Folder \ MyLibrary.dll_old
=> copy the new version of C: \ Folder \ MyLibrary.dll (v2.0)

I was told that the next time the application starts, it will download this new assembly. And while the application continues to work, it will continue to use the old assembly (even if it is renamed _old).

It seems to crack me. Is it safe to update assemblies this way?

+5
source share
1 answer

. , . .

, , .

+3

All Articles