Wiki

Changes between Version 7 and Version 8 of CreateNewProjectInXamarinStudio

Show
Ignore:
Timestamp:
02/27/14 20:27:45 (11 years ago)
Author:
Charles
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CreateNewProjectInXamarinStudio

    v7 v8  
    11= Introduction = 
    22 
    3 Let's say your company name is '''!MyCompany''' and your project is called '''!MyProject'''. You want to put most of your code for the project in a library, with a small console program to provide a command line interface to it. 
     3Let's say: 
     4 * You're developing a new project in Cobra 
     5 * You're using the XamarinStudio IDE 
     6 * Your company name is '''!MyCompany''' 
     7 * Your new project will be called '''!MyProject''' 
     8 * You want to put most of your code for the project in a library, with a small console program to provide a command line interface to it. 
    49 
    510Here are the steps done with XamarinStudio 4.2.3 on Windows. 
     
    7479= Build Files = 
    7580 
    76 In the file system, under the directory MyCompany.MyProject\MyCompany.MyProject.Console\bin\Debug 
    77  
    78 you will now have these files: 
    79  
     81In the file system, you will now have these files: 
     82{{{ 
     83> cd MyCompany.MyProject\MyCompany.MyProject.Console\bin\Debug 
     84> dir 
    8085Cobra.Core.dll 
    8186MyCompany.MyProject.Console.exe 
     
    8388MyCompany.MyProject.Lib.dll 
    8489MyCompany.MyProject.Lib.pdb 
     90}}} 
     91 
     92You can run the program outside of Xamarin Studio and Cobra: 
     93{{{ 
     94> MyCompany.MyProject.Console 
     95Hello, world! 
     96 
     97    trace : t.two=2 
     98          - at Program.cobra:14 
     99          - in Program.main 
     100}}} 
     101 
     102Press "Return" to continue. 
     103 
     104You can remove the "Console.readLine" from the program. It's there so that when you run the program from the IDE, the new output window will be "paused" so you can read it. 
    85105 
    86106= Where to go from here =