You still have some missing references. Adding a reference to System.Dll and
Microsoft.Win32.Interop.Dll should fix the problems you see here. WinDes
uses a pretty complete list of references when it compiles. It's quite
unlikely that you'll need all of them, but I don't think there's any harm in
adding them.