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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T03:54:20+00:00 2026-06-08T03:54:20+00:00

NOTE: This seems to be a fairly common error in MonoDevelop. I am working

  • 0

NOTE: This seems to be a fairly common error in MonoDevelop.

I am working on updating a C# Mono application I wrote. I’m having trouble with some dialogs, used by the application.

For example, in the following code:

public partial class Generic : Gtk.Dialog
{
    public Generic (string text, string title = "Error Notice", string label = "<b>Error Details</b>", int height = 150)
    {
        this.Build ();
        textview1.Buffer.Text = text;
        this.Title = "Application - " + title;
        label1.LabelProp = label;
        this.DefaultHeight = height;
        this.Resize(375, this.DefaultHeight);
    }


    protected void OnButtonOkClicked (object sender, System.EventArgs e)
    {
        this.Destroy();
    }
}

I get these errors:

Error CS1061: Type `Namespace.Generic' does not contain a definition for `Build' and no extension method `Build' of type `Namespace.Generic' could be found (are you missing a using directive or an assembly reference?) (CS1061) (Namespace)
Error CS0103: The name `textview1' does not exist in the current context (CS0103) (Namespace)

As well as another one for label1. The thing is that textview1 does exist. So why MonoDevelop is telling me it doesn’t I don’t know.

I think this.Build is inherited from Gtk.Dialog. Correct?

These were working earlier, but now, even after remaking the dialogs from scratch and just reentering the old code for the functionality it still doesn’t work.

My old compiles still work, so while I don’t know for sure, that would seem to indicate that GTK# is working fine…

Any help is appreciated. Thanks.

  • 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-08T03:54:23+00:00Added an answer on June 8, 2026 at 3:54 am

    The errors were in the auto generated classes, for some reason they weren’t being updated with changes to the GUI. I noticed that they didn’t contain any references to the objects referred to in my code. I deleted the auto generated classes, and recreated the dialogs to fix the problem.

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

Sidebar

Related Questions

I am having some trouble updating UMDF drivers using devcon during a standard code-deploy-debug
Note: I've asked this question in a similiar format on superuser but it seems
I am learning LINQ and this seems like a fairly simple problem. I have
I have what seems to be a fairly common inter-process communication requirement - a
Firstly, this seems like (from ContourPlot) a fairly straightforward maximization problem, why is FindMaximum
(Note: This is not a question about what is the best way with code
NOTE: This is a followup to my question here. I have a program that
NOTE: This is an old question and the answers here no longer works (since
Note: this question has nothing to do with Knockout.js, but it's about the selectedOptions
Note: this was inspired by WebBrowser Event Properties? Why am I able to access

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.