x


Unity iPhone / MonoDevelop Code Completion

Hi,

I'm not entirely sure if this is a Unity specific question or not, but hopefully someone can shed some light on the issue i'm having...

I'm developing with Unity iPhone on the Mac and using MonoDevelop as my IDE. I've got my synced code solution and MonoDevelop has working code completion, until I want code completion with XML based classes/fields. I'm 'using System.Xml' to gain access to XmlDocument as well as all the other things that come along with it, and the Unity compiler doesn't produce any errors when I run my game, but MonoDevelop is giving no code completion for any of my XML based stuff. Is there something I need to do within Unity to enable this? perhaps my sync code solution needs updating?

I have the most up to date version of MonoDevelop and Unity 1.6, though i'm currently downloading 1.7

Thanks for any advice

Mat

* UPDATE * Whilst it downloads, i have read some of the Unity 1.7 release notes which says that System.Xml can now be used in Unity iPhone Basic... Maybe this will solve the issue, but on 1.6 it didn't moan when I tried to use it... wierd.

* UPDATE 2 * Upgrading to Unity iPhone 1.7 didn't solve the issue :(

more ▼

asked Apr 06 '10 at 10:39 AM

Mat Brummitt gravatar image

Mat Brummitt
220 21 23 32

How did you got Unity iPhone synced with MonoDevelop?

Aug 20 '10 at 04:03 PM RickyAH
(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

Try deleting the solution file then create a new one with Unity. I've found this issue to happen occasionally with Visual Studio and this usually fixes it.

more ▼

answered Apr 06 '10 at 10:55 PM

Murcho gravatar image

Murcho
2.7k 12 23 53

This worked for me, but I had to not only delete the SLN files, but I also had to delete all of the code-releated files in the root directory of the project (Assemby-C-Sharp-firstpass, etc.) Thanks!

Mar 29 '12 at 05:51 PM Thom Denick
(comments are locked)
10|3000 characters needed characters left

If you add a reference to System.Xml to your project in MonoDevelop (double-click the "References" item for your project in the solution pad), you should get completion for Xml classes.

more ▼

answered Sep 29 '10 at 11:35 AM

Tak gravatar image

Tak
197 1 7

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x3740
x2000
x376
x256
x64

asked: Apr 06 '10 at 10:39 AM

Seen: 3423 times

Last Updated: Mar 29 '12 at 05:51 PM