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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Error When Deploying Plugin From Visual Studio 2019 Assembly bin\Debug\ could not be found.

(0) ShareShare
ReportReport
Posted on by 1,589

When I attempt to deploy my D365 CE Plugin via Build > Deploy within Visual Studio 2019, I get the error shown below.

I have followed all the steps here: https://crmfortress.com/2019/06/05/setting-up-developer-toolkit-for-vs2019-with-core-assemblies9-0/

However, I still get the error as shown below.

Assembly bin\Debug\JobWODateCorrector.JobWODateCorrector.dll could not be found.  

Screen-Shot-2021_2D00_02_2D00_01-at-4.40.33-PM.png

I am at a complete loss. The file IS present in the ..\JobWODateCorrector\CrmPackage\bin\Debug folder so the error does not make sense.

I would very much like to utilize the built in deploy process from within Visual Studio Professional.

What am I missing?

Any help, suggestions, recommendations, or advice would be greatly appreciated.

I have the same question (0)
  • Community Member Profile Picture
    on at

    Can you add the screenshot of your plugin being registered?  And any steps/images tied to it?  The same as the posted articles image under step 8.

  • ACECORP Profile Picture
    1,589 on at

    Nothing is present for this plugin and as a result I am unable take a screen shot of something that does not exist.

    The assembly itself is not yet present in D365 and neither are any steps/images.

    I suspect this is the result of Visual Studio not being able to register the plugin because of the  "Assembly bin\Debug\JobWODateCorrector.JobWODateCorrector.dll could not be found." error message. However, the JobWODateCorrector.JobWODateCorrector.dll file is in there as shown in the screen shot below. 

    Screen-Shot-2021_2D00_02_2D00_02-at-10.56.34-AM.png

    I am guessing that the problem is within Visual Studio 2019 in some way.

    What can I possibly be missing?

  • Verified answer
    PabloCRP Profile Picture
    1,088 on at

    Hi, did you change the name of the assembly?
    trying to build your solution is looking for JobWODateCorrector.JobWODateCorrector.dll  but in your files it does not exists, the closes assembly name is JobWODateCorrector.DateCorrector.dll.

    JobWODateCorrector.JobWODateCorrector.dll != JobWODateCorrector.DateCorrector.dll

    change the name as it was clean and rebuild.

    regards.

  • ACECORP Profile Picture
    1,589 on at

    Awesome. That was definitely the cause of the error in question. Now I have one more issue that I am hoping is just as easy. It fails to deploy, but with no info.

    Begining CRM Deployment at 4:27 PM
    
    ================= Starting Register Plugins and Workflows Task =================
    
    Loading registration information
    
    Successfully loaded registration information
    
    Deploying (inital) Plugin assembly JobWODateCorrector.JobWODateCorrector.PostOperationcpp_jobUpdate
    
    Deploy or Update operation Failed. Elapsed Time: 00:00:02.2309127
    
    Completed CRM Deployment - Deploy Result: Failed - Ended At 4:27 PM - Elapsed Time: 00:00:02.3342620

    Screen-Shot-2021_2D00_02_2D00_02-at-4.29.02-PM.png

    Any thoughts, ideas, or recommendations would be greatly appreciated!

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 146 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 59

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 52 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans