Permalink
Browse files

Log loading of AddIns instead of loading of AddIn Runtimes

  • Loading branch information...
1 parent 05a0a33 commit ee5cb9d895199b9b51d0d9086d70414c49add89b @dgrunwald dgrunwald committed Sep 27, 2010
@@ -85,6 +85,8 @@ void LoadDependencies()
// However, we need to make sure we don't return before the dependencies are ready,
// so "bool dependenciesLoaded" must be volatile and set only at the very end of this method.
if (!dependenciesLoaded) {
+ LoggingService.Info("Loading addin " + this.Name);
+
AssemblyLocator.Init();
foreach (AddInReference r in manifest.Dependencies) {
if (r.RequirePreload) {
@@ -59,8 +59,6 @@ public void Load()
{
lock (lockObj) {
if (!isAssemblyLoaded) {
- LoggingService.Info("Loading addin " + assembly);
-
if (!this.IsActive)
throw new InvalidOperationException("Cannot load inactive AddIn runtime");

0 comments on commit ee5cb9d

Please sign in to comment.