Skip to content
This repository has been archived by the owner on Jul 5, 2020. It is now read-only.

Microsoft.AI.Agent.Intercept 2.0.1.0 not compatible dependency collector #119

Closed
virtualcca opened this issue Aug 12, 2016 · 3 comments
Closed
Labels

Comments

@virtualcca
Copy link

if I update Microsoft.AI.Agent.Intercept 2.0.1.0
I always can not be collect dependency data
I debug in a ITelemetryInitializer I receive a exception

[msg=RemoteDependencyModule failed];[msg=System.IO.FileLoadException: Could not load file or assembly 'Microsoft.AI.Agent.Intercept, Version=1.2.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference.

@virtualcca
Copy link
Author

virtualcca commented Aug 12, 2016

my update package didn't update web.config
so it didn't had

dependentAssembly node to bindingRedirect

if I add it ,it will work

@abaranch
Copy link
Contributor

You definitely need binding redirect, nuget was supposed to add it when you installed the package.

@davideicardi
Copy link

Same problem here, I have manually added:

		<dependentAssembly>
			<assemblyIdentity name="Microsoft.AI.Agent.Intercept" publicKeyToken="31bf3856ad364e35" culture="neutral" />
			<bindingRedirect oldVersion="0.0.0.0-2.0.6.0" newVersion="2.0.6.0" />
		</dependentAssembly>

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants