PC Review


Reply
Thread Tools Rate Thread

command-line builds of Compact Framework assemblies

 
 
Bret Holmdahl
Guest
Posts: n/a
 
      9th Sep 2003
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
 
Reply With Quote
 
 
 
 
casey chesnut
Guest
Posts: n/a
 
      9th Sep 2003
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



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to write assemblies for compact framework. Tarundeep Singh Kalra Microsoft Dot NET Compact Framework 1 15th Sep 2004 04:03 PM
RE: Desktop Framework Assemblies on the Compact Framework... Bruce Johnson [MSFT] Microsoft Dot NET Compact Framework 0 2nd Apr 2004 05:55 PM
Re: Desktop Framework Assemblies on the Compact Framework... Chris Tacke, eMVP Microsoft Dot NET Compact Framework 0 24th Mar 2004 10:11 PM
Use .NET assemblies in compact framework ? JLD Microsoft Dot NET Compact Framework 5 9th Feb 2004 04:04 AM
Building assemblies for Compact Framework Jose Antonio Microsoft Dot NET Compact Framework 4 22nd Dec 2003 06:04 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:52 PM.