assembly (2.0.0.0), while version 1.0.0.0 is safe in storage under the CarLibrary Version 1.0.0.0 direc-
tory. Install this new assembly into the GAC as described earlier in this chapter. Notice that you now
have two versions of the same assembly (see Figure 15-25).
Figure 15-25.
Side-by-side execution of a shared assembly
If you were to run the current SharedCarLibClient.exe program by double-clicking the icon
using Windows Explorer, you should
not see the “CarLibrary Version 2.0!” message box appear, as
the manifest is specifically requesting version 1.0.0.0. How then can you instruct the CLR to bind to
version 2.0.0.0? Glad you asked!
Do'stlaringiz bilan baham: