Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8960221
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T15:37:16+00:00 2026-06-15T15:37:16+00:00

So my iPhone MonoTouch app throws the following error when i try to build

  • 0

So my iPhone MonoTouch app throws the following error when i try to build for deployment to the physical device.

Error MT2002: Could not resolve: System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (MT2002) (IcondySingleView)

It works perfectly in the simulator.

The reference to system.configuration is in a dll.

I also have this warning during compilation, the MYModel.dll contains dependencies on system.configuration.

Warning MT0011: MYModel.dll was built against a more recent runtime (NET_4_0) than MonoTouch supports. (MT0011) (IcondySingleView)

Why would it build and run in the simulator but not in the deployment to device. Can i make the settings the same somewhere.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T15:37:16+00:00Added an answer on June 15, 2026 at 3:37 pm

    Could not resolve: System.Configuration

    MonoTouch provide a profile that is based on the Silverlight (2.1) profile along with many additions. This profile does not include System.Configuration – which does not make much sense for devices anyway.

    Warning MT0011: MYModel.dll was built against a more recent runtime (NET_4_0)

    Also MonoTouch does not, right now (planned for spring 2013), support the .NET 4.0 profile. Some things may work but in general you’ll find missing members that won’t allow you to build your applications.

    Why would it build and run in the simulator but not in the deployment to device.

    Why it may works on the simulator ? That’s because it uses the JIT. Just-in-time compilation means the error will occurs at runtime (if the code path that uses missing types/members is hit).

    Why it will fails for devices ? That’s because JIT is not allowed and we use the AOT compiler. That means everything is compiled ahead of time so anything that’s missing will cause errors.

    Can i make the settings the same somewhere.

    Yes, you need to rebuilt all your assemblies against the SDK assemblies shipped with MonoTouch. This will ensure only the types/members that are available will be referenced in your assemblies. In turn this means everything is guaranteed to be available at build/runtime.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am writing a MonoTouch app for iPhone and i am getting the following
When an iPhone or iPad app throws an error, what is the recommended way
I'm building a MonoTouch iPhone app, but have come up with a small issue.
How do I keep a Monotouch iPhone app in landscape mode when loading a
I need to add iCloud to my MonoTouch iPhone/iPad app, allowing the User to
I'm currently seeing this error: MonoTouchException: Objective-C exception thrown. Name: NSInternalInconsistencyException Reason: Could not
I have a MonoTouch iPhone app which has a UITableViewController as it's main view
I'm new to MonoTouch and more times than not, when I try to run
I am developing an iphone app using Monotouch. I am able to add events
How would I create and write to a file in a Monotouch iPhone app?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.