Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 07-06-2004, 11:26 PM   #1 (permalink)
twixntwix
Registered User
 
Join Date: Jul 2004
Posts: 3
twixntwix is on a distinguished road
Add an Assembly Reference - Mono

Hi all !
I'm novice in Mono and my english is very poor...
So i'm trying to import a VisualStudio project in MonoDevelop and to compile it...
This project was made on Windows and run very well !!
But when i compile it with MonoDevelop i have an error with a reference :
Code:
Cannot find asssembly 'mydll.dll'


Anybody has an idea ?

Thanks,
twix
twixntwix is offline   Reply With Quote
Old 07-07-2004, 05:13 AM   #2 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,475
sde is on a distinguished road
why do you need to compile it with mono? personally i had bad experience with the csharp compiler and mono.

visual studio is much nicer to develop in anyway, so just compile it on windows and move the output dll or executable to the box running mono and run it.
__________________
Mike
sde is offline   Reply With Quote
Old 07-07-2004, 10:48 PM   #3 (permalink)
twixntwix
Registered User
 
Join Date: Jul 2004
Posts: 3
twixntwix is on a distinguished road
The aim is to show that what is done with VisualStudio can be compiled with Mono...LOL
It seems to be more difficult that I was thinking...

Quote:
so just compile it on windows and move the output dll or executable to the box running mono and run it
I've tried ... but got the same error... no solution...

Thanks ! (sorry my english is very bad !)
twixntwix is offline   Reply With Quote
Old 07-08-2004, 07:10 AM   #4 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,475
sde is on a distinguished road
is this a simple hello world program? or are you using more complex classes?

if it is a simple program then it should definately run on mono.

for example:
Code:
using System;

namespace ConsoleApplication1
{
	class Class1
	{
		[STAThread]
		static void Main(string[] args)
		{
			Console.WriteLine("Hello World");
			Console.ReadLine();
		}
	}
}
if you compile that on windows, and the executable will not run in mono, then your installation probably isn't good.

as far as compilling, i could never get the mono compiler to work right.
__________________
Mike
sde is offline   Reply With Quote
Old 07-08-2004, 08:00 AM   #5 (permalink)
twixntwix
Registered User
 
Join Date: Jul 2004
Posts: 3
twixntwix is on a distinguished road
I'm using complex classes...
the Assembly which is not found is a class Library i've developed...
twixntwix is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Assembly forum? sdeming Feedback 6 02-20-2006 04:20 PM
Mono runtime supadawg MS Technologies ( ASP, VB, C#, .NET ) 6 04-05-2005 02:58 PM
How to add an error statement w00t Standard C, C++ 4 08-13-2002 10:54 PM


All times are GMT -8. The time now is 10:39 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting