Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by Tyson.9 · Jul 01, 2010 at 11:43 AM · iphonemonocompiler

Where is the Mono C# compiler for Unity iPhone?

A bit of background first:

We have existing framework dll's (.NET 2.0) for a range of applications running on both Mono and MS.NET. They work just fine in standard Unity using whatever version of Mono it uses. We would like to leverage those same dll's within a Unity iPhone app, however we receive errors regarding missing classes and interfaces, notably much of the System.ComponentModel namespace.

In an effort to get around this, we tried stubbing the missing classes (as they are not critical for our app, but we don't want to pollute our framework dll code with #ifs everywhere). However attempting to build the framework dlls using VS with these stubbed classes causes a whole range of clashes as obviously VS knows about the real System.ComponentModel classes and complains.

What I decided to try next was to build our framework dll's including the stubbed classes using the Mono compiler that Unity iPhone uses, as it obviously doesn't know about the missing classes and shouldn't hit conflicts.

However I cannot find the mcs tool (Mono C# compiler) anywhere on my system - where is it located, and if it is not included, how does Unity iPhone compile C# scripts itself?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by Lucas Meijer 1 · Jul 01, 2010 at 12:58 PM

you should find it in MonoCompiler.framework in the Unity bundle.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Tyson.9 · Jul 02, 2010 at 02:26 AM 0
Share

Thanks Lucas, Im not a big mac user and I wasn't aware you could actually go into the folder structure of a .app bundle, I thought they were standalone executable files like a .exe

Once I worked that out, yeah it's easy to find.

Your answer

Hint: You can notify a user about this post by typing @username

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

Answers Answers and Comments

No one has followed this question yet.

Related Questions

What version of mono does Unity iPhone use, and are there any differences between unity's mono and standard mono? 1 Answer

Will installing a newer mono version break Unity's mono installation ? (OSX) 2 Answers

How can i use C#'s Conditional Attribute in Unity iPhone? 2 Answers

Can Unity Iphone game be written in C#? 4 Answers

Unity Mono stackTrace under IOS 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges