Version 2 (modified by Charles, 11 years ago) |
---|
Introduction
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.
Here are the steps.
Create a new solution
- Launch Xamarin Studio 4.2.3
- File > New > Solution
- Choose "Cobra" > Console Project
- Give a name like "MyCompany.MyProject.Lib" in the "Name:" field
- Edit the "Solution name:" field to chop off the ".Lib" to make it "MyCompany.MyProject"
- Leave "Create directory for solution" checked.
- Click "OK"
- Edit the class:
class Thing test pass get two as int return 2