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 8628309
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T08:30:22+00:00 2026-06-12T08:30:22+00:00

I installed the latest version of Monotouch and I started seeing the following error

  • 0

I installed the latest version of Monotouch and I started seeing the following error when I try to deploy my build to the device.

Error MT4112: The registrar found an invalid type The generic type argument ‘T’ must have a reference type constraint in order to be exportable to ObjectiveC. (MT4112)

It looks like I need to add a where clause in the class here, but it doesn’t seem to work in Monotouch.

public class NotificationObject<T> : NSObject
{
    public T Data { get; set; }
}
  • 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-12T08:30:24+00:00Added an answer on June 12, 2026 at 8:30 am

    This is a known issue in MonoTouch 6.0.2.

    Note that creating generic subclasses of NSObject, or exporting generic classes to ObjectiveC, is not supported. It may work, or it may crash inexplicably and randomly.

    We do plan to support at least some scenarios of exported generic classes in the future, but it is not on the immediate roadmap, so there is no timeline yet.

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

Sidebar

Related Questions

I just started using the FB Csharp SDK and installed the latest version of
I have installed the latest version of openni and NITE in the following order:
I have an error in NetBeans(mobile business application) I have installed JDK (latest version
I installed the latest version of Wordpress and added the WP-Syntax plugin (and also
I have installed the latest version of netbeans and its working.. I have opened
I'm working on getting knitr setup. I installed the latest version of R (2.15.1),
I installed what I assumed would be the latest version ( link ) of
I downloaded the latest open source version of QT4-and its installed in c:\qt\2009.04. I've
I recently installed the latest version of xcode with support for ios 4. Unfortunately
I just installed the latest version of Oracle developer tools and couldn't install it

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.