Browse Source

We're doubling loading assemblies in some cases, don't do that

Josh Engebretson 9 years ago
parent
commit
19a3fe3abb
1 changed files with 7 additions and 2 deletions
  1. 7 2
      Source/AtomicNET/NETNative/Desktop/NETIPCPlayerApp.cpp

+ 7 - 2
Source/AtomicNET/NETNative/Desktop/NETIPCPlayerApp.cpp

@@ -75,8 +75,13 @@ namespace Atomic
             return exitCode_;
             return exitCode_;
         }
         }
 
 
-        // TODO: Proper CSComponent assembly preload (this only works on desktop)
-        CSComponentAssembly::PreloadClassAssemblies();
+        // TODO: Proper CSComponent assembly preload
+        // For now, user must ensure that assemblies are loaded via
+        // referencing their types or load assembly before initializing
+        // AtomicNET in application.  This is commented out as it
+        // causes an issue with double loading referenced assemblies
+        // and the ones in the project file
+        // CSComponentAssembly::PreloadClassAssemblies();
 
 
         Start();
         Start();