web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Plugin Profiler error while debugging plugin

(0) ShareShare
ReportReport
Posted on by 676

Hi,

I have one dll referenced in my class library (C#) project. DLL name is "EPPlus". But now when I deployed this as a plugin. Now when I try to debug the plugin after adding plugin profiler, it throws this error:

 "Could not load file or assembly 'EPPlus, Version=3.1.2.0, Culture=neutral, PublicKeyToken=ea159fdaa78159a1' or one of its dependencies. The system cannot find the file specified".

Although the dll is present in my project's reference folder.

Any suggestion would be highly appreciated on this.

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at
    RE: Plugin Profiler error while debugging plugin

    What is the .net version that is used on the dll,is this the same .net version that you have on your project,you might need to open this dll,and build it gain using the relevant .net version and dlls from your sdk.

    To troubleshoot this download the following tool crmdiagtool2011.codeplex.com ,then try gain to debug the plugin,this might just point you to the right direction crmdialog

    How to use this tool  social.microsoft.com/.../how-to-use-crm-diag-tool-

  • Community Member Profile Picture
    on at
    RE: Plugin Profiler error while debugging plugin

    Nope, i don't get any error during deploy the plugin using plugin registration tool.

  • Mohd Tahir Profile Picture
    676 on at
    RE: Plugin Profiler error while debugging plugin

    Hi Fikri Hailal,

    Don't you get any errors while deploying them in plugin registration tool?

  • Community Member Profile Picture
    on at
    RE: Plugin Profiler error while debugging plugin

    Hii, it's strange. I have been develop some plugin, and set the key like below withour any "key" error.
    Key-Plugin.png

  • Mohd Tahir Profile Picture
    676 on at
    RE: Plugin Profiler error while debugging plugin

    This is what I get now:

    "Assemblies containing Plugins must be strongly signed. Sign the Assembly using a KeyFile".

  • Community Member Profile Picture
    on at
    RE: Plugin Profiler error while debugging plugin

    Hii, try to remove the password of your key. Usually i create a key for plugin without password. Just give a try and tell me the result

  • Mohd Tahir Profile Picture
    676 on at
    RE: Plugin Profiler error while debugging plugin

    With Password. The same project works when I add key without merging with external Dlls.

  • Community Member Profile Picture
    on at
    RE: Plugin Profiler error while debugging plugin

    The "strong key", when you create strong key do you create strong key with password or without password ?

  • Suggested answer
    Nausher Sayeed Profile Picture
    522 on at
    RE: Plugin Profiler error while debugging plugin

    Use proper merging with this link nicknow.net/dynamics-crm-ilmerge-dll-plugin

    Then you will able to debug

  • Mohd Tahir Profile Picture
    676 on at
    RE: Plugin Profiler error while debugging plugin

    I merged the dlls. Then I created a strong key and built the project. Now when I try to upload/deploy this assembly(plugin), I get this error:

    Invalid assembly public key.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Aric Levin - MVP Profile Picture

Aric Levin - MVP 2 Moderator

#2
MA-04060624-0 Profile Picture

MA-04060624-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans