Side-By-Side Assemblies
To demonstrate side-by-side versioning support of .NET assemblies, reopen the SharedComponent project and make the following changes:
1. |
Update the version attribute in AssemblyInfo.cs to 1.1.
|
2. |
Change the returned string from the WhoAmI method to reflect the new version information.
|
3. |
Build the new assembly.
|
4. |
Install the new version of the assembly into the GAC directory.
|
After these steps are complete, two versions of the SharedComponent.dll should be visible in the GAC, as shown in Figure 5.2.4.
Figure 5.2.4. Side-by-side versioning of SharedComponent.dll.
Rerun the client application and notice that the returned ...
Get C# and the .NET Framework: The C++ Perspective now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.