Go Back   RunUO - Ultima Online Emulation > Developer's Corner > Programming > C#

C# C# Discussion

Reply
 
Thread Tools Display Modes
Old 07-08-2006, 11:33 AM   #1 (permalink)
Forum Newbie
 
Join Date: May 2006
Posts: 33
Default Adding references

Is it possible to add a .exe reference? When I try I get "This is not a valid assembly or COM component. Only assemblies with extension "dll" and COM components can be referenced.".

Any idea how I can make this work? Also, is there a way to outright save your project to a dll even though it says it has errors? Everytime it finds an error it won't save it.
stopthedrop is offline   Reply With Quote
Old 07-10-2006, 03:19 PM   #2 (permalink)
ConnectUO Creator
 
Jeff's Avatar
 
Join Date: Jan 2004
Age: 28
Posts: 4,886
Default

Quote:
Originally Posted by stopthedrop
Is it possible to add a .exe reference? When I try I get "This is not a valid assembly or COM component. Only assemblies with extension "dll" and COM components can be referenced.".

Any idea how I can make this work? Also, is there a way to outright save your project to a dll even though it says it has errors? Everytime it finds an error it won't save it.
that error means the program .exe or .dll was not written in .net.
__________________
Jeff Boulanger
ConnectUO - Core Developer

Want to help make ConnectUO better? Click here to submit your ideas/requests
Use your talent to compete against other community members in RunUO hosted coding competitions

If you know XNA (even if its just a little) or are a good artist(2d or 3d) and are interested in making games for a hobby send me a pm or drop by #xna in irc.runuo.com. I'm looking to put together a small game development team.


Please do not pm me for support. If you are having issues please post in the appropriate forum. Thanks for your continued support of both ConnectUO and RunUO
Jeff is offline   Reply With Quote
Old 07-10-2006, 07:31 PM   #3 (permalink)
Forum Newbie
 
Join Date: May 2006
Posts: 33
Default

I can't add any .exe regardless.
stopthedrop is offline   Reply With Quote
Old 07-14-2006, 11:40 PM   #4 (permalink)
ConnectUO Creator
 
Jeff's Avatar
 
Join Date: Jan 2004
Age: 28
Posts: 4,886
Default

Quote:
Originally Posted by stopthedrop
I can't add any .exe regardless.
it has to be built in .net, if its not it wont add, try to add the server.exe from runuo as a reference, it will work, if it doesnt its cause you arent doing it right, perhaps find a tutorial for the IDE ur using.
__________________
Jeff Boulanger
ConnectUO - Core Developer

Want to help make ConnectUO better? Click here to submit your ideas/requests
Use your talent to compete against other community members in RunUO hosted coding competitions

If you know XNA (even if its just a little) or are a good artist(2d or 3d) and are interested in making games for a hobby send me a pm or drop by #xna in irc.runuo.com. I'm looking to put together a small game development team.


Please do not pm me for support. If you are having issues please post in the appropriate forum. Thanks for your continued support of both ConnectUO and RunUO
Jeff is offline   Reply With Quote
Old 07-15-2006, 12:25 AM   #5 (permalink)
Forum Newbie
 
Join Date: May 2006
Posts: 33
Default

Aye, still no go. I've looked for some tutorials but they are very basic. If it's any help i'm using .net 2003.
stopthedrop is offline   Reply With Quote
Old 07-15-2006, 01:30 AM   #6 (permalink)
ConnectUO Creator
 
Jeff's Avatar
 
Join Date: Jan 2004
Age: 28
Posts: 4,886
Default

Quote:
Originally Posted by stopthedrop
Aye, still no go. I've looked for some tutorials but they are very basic. If it's any help i'm using .net 2003.
no idea, never used it. sorry
__________________
Jeff Boulanger
ConnectUO - Core Developer

Want to help make ConnectUO better? Click here to submit your ideas/requests
Use your talent to compete against other community members in RunUO hosted coding competitions

If you know XNA (even if its just a little) or are a good artist(2d or 3d) and are interested in making games for a hobby send me a pm or drop by #xna in irc.runuo.com. I'm looking to put together a small game development team.


Please do not pm me for support. If you are having issues please post in the appropriate forum. Thanks for your continued support of both ConnectUO and RunUO
Jeff is offline   Reply With Quote
Old 07-15-2006, 04:34 AM   #7 (permalink)
Forum Expert
 
TheOutkastDev's Avatar
 
Join Date: Sep 2002
Location: Houston, Texas
Age: 22
Posts: 3,933
Default

Simply make a copy of your Server.exe and rename it to Server.exe.dll
TheOutkastDev is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5