No one should have to need to specify full path anymore.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@836 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
@@ -83,8 +83,10 @@ namespace SLProxy {
|
||||
}
|
||||
}
|
||||
|
||||
public void LoadPlugin(string name) {
|
||||
Assembly assembly = Assembly.LoadFile(name);
|
||||
public void LoadPlugin(string name)
|
||||
{
|
||||
|
||||
Assembly assembly = Assembly.LoadFile(Path.GetFullPath(name));
|
||||
foreach (Type t in assembly.GetTypes())
|
||||
{
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user