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
Mohamed Amine Mahmoudi
83
Super User 2025 Season 1
Community Member
54
Victor Onyebuchi
6