wxegen.exe is not supposed to be used by the programmer directly. wxegen.exe is a build step in the build process in your re-motion web project. wxegen.exe is run automatically whenever you rebuild your project (typically while embellishing the web application generated by uigen.exe).

The command line - as written into your web project file by uigen.exe - always looks like this (for the PhoneBook web project):

 \PhoneBook\Remotion\net-3.5\bin\Debug\wxegen                \
          UI\*.aspx.cs                                       \
          WxeFunctions.cs                                    \
          /prjfile:PhoneBook.Web.csproj                      \
          /functionbase:PhoneBook.Web.Classes.BaseFunction 

The role of the parameters is explained in the overview wxegen.exe:

As the overview explains, the UI*.aspx.cs files are read in, and based on the re-call headers found there, the boilerplate in WxeFunctions.cs is generated. Keep in mind that: