« updating compact framework applications | Main | Software development on Mars »
February 17, 2004
Command line builds for the compact framework
Interesting, not sure that I'll use it much. But interetsing to know the details of how VS does the builds.
I suppose it could be said that I'm a purist. Wizards, templates and helper utilies are great, but I believe before you become reliant upon these things you really ought to understand how they work. One problem that is presented to .NET Compact Framework developers is how to compile their code from the commmand-line, outside of Visual Studio. Using the piece of code below, I'm going to show you how you can simplify the process.
...
This file is saved and then referenced in the compile command as follows:
csc /t:winexe /noconfig @C:\MyApp\cf_csc.rsp MyApp.csNote that we still have to explicitly specify the /noconfig option. If we include this in the response file, it will be ignored by the compiler.
[Neil Cowburn]
Posted by mikel at February 17, 2004 10:43 AM
Comments
IIRC, VS .NET actually uses CodeDOM to compile code, rather than csc/vbc.
Posted by: Neil Cowburn at February 17, 2004 12:09 PM
Cool, thanks Neil.
Posted by: Mikel at February 17, 2004 01:04 PM
Post a comment
Thanks for signing in, . Now you can comment. (sign out)
(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)