I am building a 64-bit C# .NET DLL in Visual Studio 2010. My project's post-build steps include the running of sgen.exe to generate a corresponding XmlSerializer DLL for my assembly. (I'm trying to load a CLR function into SQL Server 2012. The function does some XML serializing.)
Is there a way to generate 64-bit code with any version of sgen.exe? Or is there a particular Windows SDK that I should install? Can't seem to find a download site.
You can pass C# compiler options in /c parameter:
But not sure it makes sense for MSIL