Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




Gemini Event Listener API

add-ons

Hi, i´m a new user to Gemini, and i´m just testing it´s funcionalities ....

I´ve to integrate Gemini to my own software, so first i´ve tried its Webservices .. everything works fine ... great

Now, i´m trying its Event Listener API ... I´ve wirtten a simple class derived from AbstractListener (exactly as shown in the user manual, and put it´s dll in bin/plugin)... and i got following error in the admin Log: "Could not load file or assembly 'MyPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified."

I´m using Gemini version 2.1.1.

thx.

gugarc
· 1
gugarc
Replies (4)
helpful
0
not helpful

You are missing some DLLs that your plugin is using, make sure they are in the plugins directory


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

hi. The project references only two dlls System.DLL and Countersoft.Geminilib.dll

i´ve copied both to the plugin folder (and the myplugin.dll also)

here the code that i´ve implemented: (user in IIS is SystemAccount , with full access to any resources);

using CounterSoft.GeminiLib; using System;

namespace MyPlugin { public class MyPlugin : AbstractIssueListener { public override void IssueStatusChange(IssueEventArgs args) { String file = @"C:\teste_Gemini.txt"; base.IssueStatusChange(args); try { string[] lines = { "Issue Id" + args.Issue.IssueID.ToString(), "Issue Status Desc" + args.Issue.IssueStatusDesc, "Issue Status Id" + args.Issue.IssueStatus.ToString() }; if (! System.IO.File.Exists(file)) System.IO.File.CreateText(file);

                System.IO.File.WriteAllLines(file, lines);
            }                
        }
        catch (Exception ex)
        {
            GeminiHelper.LogException(ex);
        }
    }

}

thx


gugarc
· 1
gugarc
helpful
0
not helpful

Remove system.dll and GeminiLib and it should work.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

both have been removed, and same error:

Could not load file or assembly 'MyPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.

:(


gugarc
· 1
gugarc