[MonoDevelop] Adding external references in Monodevelop on Mac OS X

Herald harold.johnson at gmail.com
Wed Jan 7 18:37:38 EST 2009



Sandy Armstrong wrote:
> 
> On 01/07/2009 12:20 PM, Michael Hutchinson wrote:
>> On Wed, Jan 7, 2009 at 7:04 AM, Dr. Hubert Dichtl<dichtl at alphaport.de> 
>> wrote:
>>> Hello all,
>>>
>>> I am new in this forum. I have a problem with Monodevelp on a Mac OS X
>>> system. While the simple "Hello World" program runs perfect, I am not
>>> able
>>> to add a reference to an external Library (which can than be integrated
>>> in
>>> the source code with the "using" statement). In the project window the
>>> node
>>> "references" with the sub note "System" appears. Unfortunately, I am not
>>> able to add further external references. In an artikel on the
>>> monodevelop-homepage I read that I have to "right click" the reference
>>> node
>>> to add further references. When I click the reference node in the
>>> project
>>> window (with and without the CTRL-key) nothing happens. How can I reach
>>> the
>>> menue to edit or add references? Has anyone a solution or an idea?
>>
>> I'm not a Mac user, but as far as I know GTK on the mac doesn't yet
>> convert ctrl-click to right-click. Hence it's not possible to access
>> context menus with a one-button mouse.
> 
> That being said, the mouse [1] that Apple ships these days, though it 
> appears to be a one-button mouse, actually works as a two-button mouse 
> and works as expected with MonoDevelop.  So if you have a recent Mac, 
> that might work for you.

I found that I was having the same problem using my PowerBook, but I may
have found another path to complete the steps listed in the instructions the
original poster was referring to (which can be viewed at
http://www.monodevelop.org/Creating_A_Simple_Solution). Here we are
instructed to:

"...right click on the Solution icon in the Solution Pad. Select 'Add->Add
New Project'. From the 'New Solution' window, select 'C#' as the language
and 'Library' as the template..."
--quoted from Step 2: Create a Library Project

Can this also be accomplished through the File menu? For example, by
creating a new Solution (using the Library template) and saving it to the
current Solution's directory? Would that do the job? Or is there something
else that needs to be done in order to tie the two together?

Further, we are instructed:

"...specify the startup project (i.e. the project which is built and run
when using the "Run" command) by right clicking on the Solution icon in the
Solution pad and choosing "Options", then Common->Startup Properties..."
--quoted from Step 3: Using the New Library

I believe (but am not certain) this can be accomplished by selecting the
Solution icon and then using the menu Project->Options to open the Solution
Options dialog box. From there you can select the Startup Project icon
(located in the General area) to set that up. Am I right or am I totally
wrong about this?

Next we are instructed to right-click the References node to open the Edit
References dialog. Can the same be accomplished by selecting the References
node and then (again) using the menu Project->Options, this time selecting
the Makefile Integration icon (located in the General area) to access a set
of tabs which include References? I have a feeling I'm way off on this
particular one, but I'm throwing it out there just in case...

Since us Mac users don't (traditionally) have two-button mice, would it be
possible to set up our Solutions and set up our Startup Project preference
and edit our References using the command line?


-- 
View this message in context: http://www.nabble.com/Adding-external-references-in-Monodevelop-on-Mac-OS-X-tp21329829p21342909.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.



More information about the Monodevelop-list mailing list