Is it possible to create a Monotouch application in Visual Studio?

I would like to know if it is possible to compile a Monotouch project that does not have a link to any user interface library in Visual Studio. This project uses only the Monotouch environment.

I did some research and I read that if the project does not have a link to the Apple SDK, I would have to create a MonoTouch project using Visual Studio. If I can, I need a specific configuration to achieve my goal.

Some related links: How easy is it to develop an iPhone application using MonoTouch in Visual Studio? How can I develop for iPhone using a Windows development machine? Developing iPhone on Windows

+4
source share
4 answers

Even if your project does not have references to MonoTouch libraries, it is still a MonoTouch library project. Visual studio does not recognize this type of project, and because of this, you cannot compile code.

I wrote about this a while ago and how you can change your project so that you can actually use Visual Studio for development (although you cannot start the application) here: http://escoz.com/blog/developing-with-monotouch- on-windows-and-visual-studio

Hope this helps.

+7
source

There is a Visual Studio add-on that can help. However, it was not updated. It also helps you write code. To compile and run the code, you still need MonoTouch and Mac. https://github.com/follesoe/VSMonoTouch

Update: As of February 2013, Xamarin includes Visual Studio support for developing iOS applications in its Xamarin.iOS business class. You can fully get used to Windows + Visual Studio, but you still need a Mac on your network to build and run the simulator.

+2
source

If you are talking about creating a DLL or a library in VS.NET that you could use in a MonoTouch project, I think the answer is NO. For use in MT, the code must be compiled with MT.

0
source

The MonoDevAssist VS extension (the VS Extension Manager search for "monotouch") seems to work fine. There are only a few simple steps to follow after installation, which are described here:

http://monodevassist.codeplex.com/documentation

0
source

Source: https://habr.com/ru/post/1343822/


All Articles