Add the following including the double "s to the project properties Build Events Post-build event command line dialog
The path is the path to sgen.exe, I could not find one in VS2008 so I used the one in VS2005
"C:\Program Files (x86)\Microsoft Visual Studio 8\SDK\v2.0\Bin\sgen.exe" /force "$(TargetPath)
This will create an additional .DLL in your output directory
ProjectName.XmlSerializers.dll
Define this assembly to SQL Server
CREATE ASSEMBLY SomeAssemblyName FROM 'The path to your project \bin\Release\ProjectName.XmlSerializers.dll'