Tuesday 3 June 2014

create you first app in Monodevelop csharp


  1. After Successfull Installation of MonoDevelop We will start with making our first Hello World App in MonoDevelop . If you have not Installed MonoDevelop you can get Installation Guide here

    Installation Guide For MonoDevelop
  2. Start you M onoDevelop that you have installed already. It opens with following screen
      Gtk# version 2.12.9 or greater must be installed

  3. Now to create a simple app in MonoDevelop Click on File Menu --> Then click on Solution
    Gtk# version 2.12.9 or greater must be installed

  4. Then a window appears Click on Gtk# project and give Project a Name and click oK
    Gtk# version 2.12.9 or greater must be installed

  5. Now your project open with a code window with Main.cs file as below
    Gtk# version 2.12.9 or greater must be installed

  6. Now right click on your proect in sidebar then click on Add and in Submenu click on New File
    Gtk# version 2.12.9 or greater must be installed

  7. Then click on Window give it a name and click ok
    Gtk# version 2.12.9 or greater must be installed

  8. You can see you have two views Designer and source view .Designer view will be used for Designing GUI for your application and source will be used for coding
    Gtk# version 2.12.9 or greater must be installed

  9. Now open new window file you have added and goto design view
  10. now from Toolbar in right sidebar Go to containers section and double click on Fixed Container to get it on your window
    Gtk# version 2.12.9 or greater must be installed

  11. Now take a button from Toolbar
    Gtk# version 2.12.9 or greater must be installed

  12. select the button Now click on properties window and click on Signals Tab
    Gtk# version 2.12.9 or greater must be installed

  13. Now click on Clicked property and give a valid name for click event function and Hit Enter
    Gtk# version 2.12.9 or greater must be installed

  14. Now first add reference to system.windows.forms Namespace for that Right click on project in sidebar and click on Edit Reference
    Gtk# version 2.12.9 or greater must be installed

  15. Search for system.windows.forms in search box and click check mark on check Box and click ok
    Gtk# version 2.12.9 or greater must be installed

  16. Now come to Souce view and you will see code like below

    protected void clickevent (object sender, EventArgs e)
    {
    throw new System.NotImplementedException ();
    }
  17. Remove " throw new System.NotImplementedException ();" line and Add line as below

    MessageBox.Show("Hello Welcome To Mono World");
  18. Now Save All your project change by pressing Ctrl + s
  19. Now Press F5 To Run your project and It will show output below
    Gtk# version 2.12.9 or greater must be installed


Gtk# version 2-12-9 or greater must be installed


 
  1. If you are suffering from this error during start of installation of MonoDevelop then main cause of this error is wrong installation of Gtk# . The best solution for this problem with which i have solved this error is to Download and Install Gtk Version 2.12.9 . The Download link is given below :-

Download Gtk version 2.12.9


All GTK Versions


Complete Installation Guide For MonoDevelop Install

MonoDevelop Cross Platform Using Csharp


MonoDevelop is a revolution in the era of Cross development by using Microsoft .NET programming language like Csharp ( C# ) , Visual Basic and Jsharp ( J# ) . Monodevelop has removed blame that Microsoft .NET software can only run on Windows platforms This makes possible to run .net applications and to build a .Net Application on any platform

MonoDevelop is a cross-platform IDE  developed for Csharp ( C# ) programming language  and other .NET programming languages. MonoDevelop allows programmers to program desktop softwares and ASP.NET Web applications and websites  on Linux, Windows  and Mac OSX. MonoDevelop  makes possible for .net programmers to run , create and deploy their .net software applications on cross-platforms Any  .NET application developed  with Visual Studio can be used in linux or Mac with the help of MonoDevelop

Windows platform is fully supported  for running MonoDevelop and it is fully accepted. In past there were many issues regarding Mono Development but now  Many Windows specific issues have been fixed, and ome add-ins such as debugging and subversion support have been written specifically for Windows and it is fully supported by windows

By developing with mono specifically, you will be able to run your executable on any platform that has mono available for it. That in and of itself is mono's biggest advantage over developing on MSFT's .Net platform. Said differently: If you build you assembly with mono, you're guarantee cross-platform support

Features Of MonoDevelop


  1. Multi-platform support

    It Supports Linux ( ubuntu etc ) , Windows( xp,7,8 etc ) and Mac OS X operating systems
  2. Advanced Text Editing Facilities

    It provides Code completion support for Csharp  4 that is lastest version for csharp
    It also provides  code templates and  code folding.
  3. Configurable workbench

    Fully customizable window layouts, user defined key bindings, external tools
  4. Multi-language programming Facilities

    Monodevelop supports various programming languages like - C#, Visual Basic.Net, C/C++, Vala
  1. GTK# Visual Designer

    Easily build GTK# applications


    Installation Steps for MonoDevelop in Windows

    1.   First you need to install GTK# for .NET, because the GTK# included with Mono is in Mono's      GAC
    2. Then After successfull Installation of Gtk# Now install Monodevelop. You can download Monodevelop from link below
      Download Monodevelop

    Installation Steps For Gtk# for MonoDevelop

    1. After Downloaded the Gtk# setup from link given in above section . Double click on setup and you will see the following startup screen

    MonoDevelop Cross Platform Using Csharp
  2. Click Next to proceed the installation
  3. Now here comes License Agreeement Click on Check Box to accept the license and click on Next Button
    MonoDevelop Cross Platform Using Csharp

  4. Now Choose or browse directory for Gtk# installation and click Next
    MonoDevelop Cross Platform Using Csharp

  5. In Next Window click install and you will the installtion progress
    MonoDevelop Cross Platform Using Csharp

    6. After full installation click on Finish

Installation Steps for Monodevelop


  1.  After Downloaded the MonoDevelop setup from link given in above section . Double click on setup and you will see the following startup screen
    MonoDevelop Cross Platform Using Csharp

  2. Click Next to proceed the installation 
  3. Now here comes License Agreeement Click on Check Box to accept the license and click on Next Button
    MonoDevelop Cross Platform Using Csharp



  4.  Now Choose or browse directory for  MonoDevelop installation and click Next
    MonoDevelop Cross Platform Using Csharp

  5. In Next Window click install and you will the installtion progress
    MonoDevelop Cross Platform Using Csharp


    MonoDevelop Cross Platform Using Csharp

         
     
  6. After full installation click on Finish




MonoDevelop Cross Platform Using Csharp

POSSIBLE ERRORS DURING MONO INSTALLATION


ERROR :- Gtk# version 2.12.9 or greater must be installed

Gtk# version 2.12.9 or greater must be installed

Go Here For Solution To this Error Fix Gtk# version 2.12.9 or greater must be installed