http://dotnetdn.com/without-visual-studio/
"Bret Holmdahl" <(E-Mail Removed)> wrote in message
news:4e5001c37674$57446590$(E-Mail Removed)...
> I am trying to build a compact framework assembly from the
> command line using csc.exe. When looking at the
> assembly's manifest, it appears that the referenced .NET
> libraries (e.g. System.Windows.Forms.dll) are to the
> complete .NET FW (v1.1) and not the Compact Framework.
> When the same assembly is built from VS .NET (as a Smart
> Device Application) the Compact Framework version of the
> libraries are seen in the assembly manifest.
>
> I've tried to explicity reference (via /r) the CF
> libraries from the command-line but get duplicate versions
> of the object definition and the version in the
> complete .NET FW would be used warning.
>
> Is there a command-ine switch for csc to target the
> Compact Framework? Maybe something similar to the /netcf
> option for the VB compiler. Or is there another compiler
> to do this?
>
> Any help would be appreciated.
>
> Thx.
>
> -Bret