We are generating smartdevices projects and we need to compile, deploy and run the application in the emulator.
Is it possible to do this using msbuild tasks
I know that I can build the project but I could not find the tasks for deploy and run the application.

MSBuild and SmartDevices
DWalker
KimI129598
More information is available on our team blog at http://blogs.msdn.com/vsdteam/archive/2005/03/20/399507.aspx.
Neil
JFox
Is it possible
Mats Johansson
<Target Name="...">
..
<Exec Command="command here.."/>
...
</Target>
If that doesn't answer your question post back with more details.
Dan
IIMA
If you are interested in writing such tasks yourself, one option is to write these tasks to use ActiveSync. Overall, an ActiveSync-based suite of tasks is an interesting idea.
There is also a sample/unsupported tool that has been developed that has gotten a lot of positive response...it's not entirely clear that this tool will work outside the context of the IDE, so I'll forward your request on to someone (Neil Enns) with additional context who can tell you if it will meet your needs.
One point to consider is how will you debug this app while you are working on it...deploy and run by itself doesn't have much value during the development process. Although you can configure your device to do attach the managed debugger, you do pay a performance penalty for enabling it.