CSC to build .NETCF assemblies

  • Thread starter Eduardo Pavinato Klein
  • Start date
E

Eduardo Pavinato Klein

Hi all.

I'm using nant (http://nant.sourceforge.net/) to build .NET assemblies and
it was succesfull.
When I try to build .NET CF assemblies, Nant returns success status but my
application does not run in my devide or emulator.

Does Visual Studio use CSC to build .NET CF assemblies? Is there a specific
parameter I'm missing?

Thanks,
Eduardo Klein
 
C

Chris Tacke, eMVP

Yes, but you must use the CF assemblies, not the full framework assemblies
whn building. Search the archives for examples or look at the scripts used
to build the OpenNETCF SDF.

--
Chris Tacke
Co-founder
OpenNETCF.org
Has OpenNETCF helped you? Consider donating to support us!
http://www.opennetcf.org/donate
 
C

Christian Schwarz

When I try to build .NET CF assemblies, Nant returns success status but my
application does not run in my devide or emulator.

Does Visual Studio use CSC to build .NET CF assemblies? Is there a
specific parameter I'm missing?

Maybe you forgot to tell NAnt the target platform type? Try using
the -defaultframework:netcf-1.0 command line parameter.

Greetings, Christian
 
E

Eduardo Pavinato Klein

Thanks for the help.
Eduardo

Maybe you forgot to tell NAnt the target platform type? Try using
the -defaultframework:netcf-1.0 command line parameter.

Greetings, Christian
 
E

Eduardo Pavinato Klein

Yes, but you must use the CF assemblies, not the full framework
assemblies whn building. Search the archives for examples or look at
the scripts used to build the OpenNETCF SDF.

Hi Chris

Where can I find the scripts?

Thanks,
Eduardo Klein
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top