Developer forum

Forum » Dynamicweb 10 » DataIntegration providers references

DataIntegration providers references

Mario Santos Dynamicweb Employee
Mario Santos
Reply

Hi, 

We have a custom scheduled task addin that is using both Dynamicweb.DataIntegration.Providers.XmlProvider and Dynamicweb.DataIntegration.Providers.DynamicwebProvider references. The XML provider for example, the version referenced in csproj matches the version installed 10.6.1, but when when code is hit it says it cannot find assembly with version 1.0.0.0.

Any thoughts on what could be wrong here?

From decompiler:

#region Assembly Dynamicweb.DataIntegration.Providers.XmlProvider, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// C:\Users\MárioSantos\.nuget\packages\dynamicweb.dataintegration.providers.xmlprovider\10.6.1\lib\net8.0\Dynamicweb.DataIntegration.Providers.XmlProvider.dll
// Decompiled with ICSharpCode.Decompiler 8.1.1.7464
#endregion

 


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

When you have assemblies, you have versions and assembly versions:

So that is what you are seing. 

We changel version only - if we change assemblyversion, you would have to recompile everytime (I think).

 
Mario Santos Dynamicweb Employee
Mario Santos
Reply

This is what my csproj looks like. Any suggestion would be appreciated :) 

It seems that providers are not updating assemblyversion but other dlls are?

 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

bump

 

Any news on this? We're needing to have this concluded so that our Integration team can import the data.

 
Morten Bengtson Dynamicweb Employee
Morten Bengtson
Reply

I can't reproduce this issue.

  1. Which version of DW is used by the main application? Is it also using 10.7.6?
  2. Is this a standard application (installed from zip release) or a custom application created using the CLI or Visual Studio template?
  3. How did you install the custom scheduled task addin? Is it referenced directly by the application, installed from a nuget package in the Apps area or is it installed manually by adding it to the bin folder?

Try to compare the bin folder of your application with the standard one in the downloadable zip release.
Make sure that the bin folder doesn't contain any unused or incompatible assemblies, e.g. asemblies which are targeting .NET Framework.

 

You must be logged in to post in the forum