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 'Using' issue with MSBuild

(0) ShareShare
ReportReport
Posted on by
Hi, I am trying to use the Dynamics 365 Developer Toolkit with VS 2015 for build automation using msbuild. I am getting error the below...
 
Could not load file or assembly ‘EnvDTE, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ or one of its dependencies.
 
When I checked the included Microsoft.CrmDeveloerTools.dll 1.3 using Reflection tool, I noticed it is using the VSLangProj (v7.x) version which I believe is causing the old EnvDTE DLL v7.x dependency.
 
Based on some articles I read, it seems Microsoft removed the assemblyBinding redirect to EnvDTE v8.x in the devenv.exe from VS2013 onwards which is causing this old envDTE assembly unable to resolve at runtime.
 
Since the build agents are running on Enterprise servers, I cannot control/modify any assemblyBindings either on the VisualStudio MSBuild. One option could be to use a app.config for the bindingRedirect to new EnvDTE assembly in the project itself when building the Toolkit but that requires Project sourcecode.
 
Has anyone noticed this issue? Any suggestions how to work around this is really appreciated.

*This post is locked for comments

I have the same question (0)

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