Articles
|
News
|
Weblogs
|
Books
|
Forums
Artima Forums
|
Articles
|
Weblogs
|
Java Answers
|
News
Sponsored Link
•
C# Answers Forum
loading a dll
15
replies on
2
pages.
Most recent reply
: Jun 5, 2008 4:23 AM by
Wimpie Ratte
Welcome
Guest
Sign In
Back to Topic List
Reply to this Topic
Search Forum
Threaded View
Previous Topic
Next Topic
Flat View: This topic has
15
replies on
2
pages [
«
|
1
2
]
Wimpie Ratte
Posts: 1
Nickname: wratte
Registered: Jun, 2008
Re: loading a dll
Posted: Jun 5, 2008 4:23 AM
Reply
Advertisement
Assembly assembly = Assembly.LoadFile( filename );
with the above line of code, when you try to call
assembly.GetTypes()
you'll get the following error probably:
Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information
rather use
Assembly assembly = Assembly.LoadFrom( filename );
to load the file. (i just had the current problem and stumbled on this forum while trying to solve it)
Flat View: This topic has
15
replies on
2
pages [
«
|
1
2
]
Previous Topic
Next Topic
Sponsored Links
Web
Artima.com
Copyright
© 1996-2019 Artima, Inc. All Rights Reserved. -
Privacy Policy
-
Terms of Use