Version Tolerant Serialization Technology Sample
This sample demonstrates the version tolerance features of .NET Serialization. The sample builds applications that use different versions of a BinaryFormatter to serialize and deserialize data. Despite the presence of different type versions, the applications communicate seamlessly. For more information, see Version Tolerant Serialization.
Open a Command Prompt window and navigate to one of the language-specific subdirectories (under V1 Application or V2 Application) for the sample.
Type msbuild.exe <ver> application.sln at the command line (where <ver> is either v1 or v2).
Open File Explorer and navigate to one of the language-specific subdirectories for the sample.
Navigate to the V1 Application subdirectory of the directory you selected in the previous step.
Double-click the icon for V1 Application.sln to open the file in Visual Studio.
On the Build menu, click Build Solution.
Navigate to the V2 Application subdirectory and repeat the two previous steps to build the V2 Application.
The applications will be built in the default \bin or \bin\Debug subdirectories of their respective project directories.
In the Command Prompt window, navigate to the language-specific subdirectory that you selected when you built the sample applications.
Type runme.cmd at the command line to run both applications at once.
Alternatively, navigate to the directories that contain the new executables and run them sequentially.
The sample builds console applications. You must launch and run them in a Command Prompt window to view their output.