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 :
Microsoft Dynamics CRM (Archived)

Dynamics 365 Developer Toolkit throwing an error on deployment Could not load file or assembly 'CrmLibraries, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.

(0) ShareShare
ReportReport
Posted on by

I just recently installed the Dynamics 365 Developer Toolkit on VS2012.  Whenever I right-click on the package project and deploy I get the following error.

Error 102 Could not load file or assembly 'CrmLibraries, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)
at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.Load(String assemblyString)
at System.Runtime.Serialization.FormatterServices.LoadAssemblyFromString(String assemblyName)
at System.Reflection.MemberInfoSerializationHolder..ctor(SerializationInfo info, StreamingContext context)
at System.AppDomain.add_AssemblyResolve(ResolveEventHandler value)
at Microsoft.Crm.Tools.Libraries.AssemblyResolver.AttachResolver(AppDomain domain)
at Microsoft.Crm.Tools.Libraries.AppDomainContext`1..ctor(String domainName, String appPathName)
at Microsoft.Crm.Tools.Libraries.RegistrationHelper.RetrievePluginsFromAssembly(String pathToAssembly, String appPath)
at Microsoft.CrmDeveloperTools.CrmClient.Deployment.PRT_RegisterPluginsAndWorkflows.ExecutePluginAssemblyRegistrationWithUpdate(SolutionType PluginAsm, CRMDeveloperToolsPackage package, PluginSerializationType Selectedplugin, WorkflowType SelectedWorkflow)
at Microsoft.CrmDeveloperTools.CrmClient.Deployment.PRT_RegisterPluginsAndWorkflows.RegisterPlugins(CRMDeveloperToolsPackage FeaturePackage, Boolean& isPackageEmpty, List`1 selectedPlugin, List`1 selectedWebResource, List`1 selectedSolution)
at Microsoft.CrmDeveloperTools.CrmClient.Deployment.DeployToCRM.DeployToCrmSync(IVsOutputWindowPane output, UInt32 options) Build Process 1 1

*This post is locked for comments

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

    My mistake I didn't have the paths to the Plugin-Registration and Bin Directory set:

    Tools -> options -> Dynamics 365 Developer Toolkit -> Tool Paths

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 > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans