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

Announcements

No record found.

News and Announcements icon
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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
11manish Profile Picture

11manish 156

#2
ManoVerse Profile Picture

ManoVerse 153 Super User 2026 Season 1

#3
Zhilan Profile Picture

Zhilan 49

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans