I can't think of any easy solution, so let's do this the difficult way:
- Install virtualization software like VMware
- Install Windows on a virtual machine
- Install Visual Studio in Windows on the VM
- Compile your code using Visual Studio
Another option may be running Visual Studio or Visual C with WineHQ.
It seems to work well enough for simple compiling...
That's what I would do. At least it's a lot easier then finding a way to compile Windows code from Linux. Just make the Windows tools run in Linux! ^^
- Black
Area 52 -- a location so extraordinarily top secret that Area 51 was invented just to hide it