aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/Manager/PhysicsPluginManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Physics/Manager/PhysicsPluginManager.cs')
-rw-r--r--OpenSim/Region/Physics/Manager/PhysicsPluginManager.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/Manager/PhysicsPluginManager.cs b/OpenSim/Region/Physics/Manager/PhysicsPluginManager.cs
index 76ea503..ac05576 100644
--- a/OpenSim/Region/Physics/Manager/PhysicsPluginManager.cs
+++ b/OpenSim/Region/Physics/Manager/PhysicsPluginManager.cs
@@ -106,6 +106,14 @@ namespace OpenSim.Region.Physics.Manager
106 106
107 private void AddPlugin(string FileName) 107 private void AddPlugin(string FileName)
108 { 108 {
109 // TODO / NOTE
110 // The assembly named 'OpenSim.Region.Physics.BasicPhysicsPlugin' was loaded from
111 // 'file:///C:/OpenSim/trunk2/bin/Physics/OpenSim.Region.Physics.BasicPhysicsPlugin.dll'
112 // using the LoadFrom context. The use of this context can result in unexpected behavior
113 // for serialization, casting and dependency resolution. In almost all cases, it is recommended
114 // that the LoadFrom context be avoided. This can be done by installing assemblies in the
115 // Global Assembly Cache or in the ApplicationBase directory and using Assembly.
116 // Load when explicitly loading assemblies.
109 Assembly pluginAssembly = Assembly.LoadFrom(FileName); 117 Assembly pluginAssembly = Assembly.LoadFrom(FileName);
110 118
111 foreach (Type pluginType in pluginAssembly.GetTypes()) 119 foreach (Type pluginType in pluginAssembly.GetTypes())