views:

407

answers:

8

can we develop application for iphone in visual studio itself are there any emulator for testing it that is compatible with visual studio

+14  A: 

You can use Mono in the iphone environment to develop apps in a C# / .NET environment. - http://monotouch.net/ is one example of someone doing that.

Alex Sexton
+1 ..I didn't know it .. I did searched for something like this before didn't found any
Xinus
Will it run on a non-jailbroken iPhone?
Jan Aagaard
Absolutely. It is an Apple approved method of doing things.
Alex Sexton
**Update on this:** This status may have changed, waiting for Apple to actually enforce the new policy (or back down, hopefully), SO thread is here: http://stackoverflow.com/questions/2604033/is-monotouch-now-banned-on-the-iphone
Nick Craver
+1  A: 

Yes, you can use Mono for that. Novell released a commercial product:

http://monotouch.net/

Vitaliy Liptchinsky
+2  A: 

As mentioned, Mono is the way.

There isn't a way at present to do straightforward development in Visual studio, however this will be coming soon as a VS Addin, which was discussed on Hanselminutes.

There is a Mono IDE though, called monodevelop

Link to Mono Podcast from Hanselminutes here

Nick Haslam
with airplay, you can use visual studio
zumalifeguard
+1  A: 

You will still need the official iPhone SDK and OSX, from MonoTouch Requirements:

To begin using MonoTouch, you will need to have:

  • Apple's iPhone SDK 3.0 or higher, available from Apple's iPhone Dev Center.
  • An Intel Mac computer running MacOS 10.5 or 10.6 (Leopard or Snow Leopard).
  • The latest release of Mono for OSX

So it's not exactly a free lunch yet :(

Sune Rievers
+2  A: 

You can use monotouch

Zote
The only problem with this being that it will not be of any use on Windows, even of you do install MonoDevelop.
kersny
+4  A: 

Monodevelop 2.2 Beta has a setup for Windows. Download

But if you want to develop for the iPhone (with MonoTouch) you are required to have an Intel Mac (otherwise you couldn't run the neccesary Apple tools).

Depending on WHAT you want to do you could also use Unity for the iPhone which is also Mono/.Net based.

Foxfire
+1 For Unity, if you're working on a game, its the way to go
Michael La Voie
A: 

Besides using Monotouch, there is no other way to do it in .NET.

If you are not willing to use OBJ-C's native API for iPhone you could also consider FLASH.

Pablo Santa Cruz
Flash doesn't work on the iPhone yet
Rob Fonseca-Ensor
@Rob I never said flash works in iPhone. I said you can USE FLASH and ACTION SCRIPT 3 to develop FOR the iPhone. Check the link I posted out.
Pablo Santa Cruz
A: 

Use the Airplay SDK: http://www.airplaysdk.com/

You can develop with Visual Studio and target the iPhone for free. If you target other mobile platforms, the pricing changes. You will still need a Macintosh to sign your iPhone package, but all the development / testing can be done in C++ in Visual Studio on Windows.

John JJ Curtis