Thursday, 4 November 2010

Error: Could not load file or assembly ‘EnvDTE, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ or one of its dependencies. The located assembly’s manifest definition does not match the assembly reference

This error might occur during deployment of BizTalk Project though there are no build errors in the project.

Many blogs suggest that the following key should be there in devenv.config file

<dependentAssembly>

<assemblyIdentity name="EnvDTE" publicKeyToken=

"b03f5f7f11d50a3a"/>

<bindingRedirect oldVersion="7.0.3300.0"

newVersion="8.0.0.0 "/>

</dependentAssembly>

But, this key will be mostly present in all the machines.

In such case, the below steps might resolve the error.

1. If the application is being deployed for the first time, make sure that the Redeploy Flag under the dependencies tab of project properties set to False

2. If the application is already deployed,

i) Stop the deployed application and terminate all instances

ii) Set the Enable Unit Testing Flag under the dependencies tab of project properties set to False and redeploy flag set to true.

Now try to redeploy again.



- Shiv


Web Counters

1 comment: