CS1705 C# Assembly with identity uses which has a higher version than referenced assembly 'Autofac' with identity

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 năm cách đây
Getting below mentioned version issue after cleaning and rebuild the project:-

Severity  Code  Description  Project  File  Line  Suppression State
Error  CS1705  Assembly 'Nop.Core' with identity 'Nop.Core, Version=3.9.0.0, Culture=neutral, PublicKeyToken=null' uses 'Autofac, Version=4.6.1.0, Culture=neutral, PublicKeyToken=17863af14b0044da' which has a higher version than referenced assembly 'Autofac' with identity 'Autofac, Version=4.4.0.0, Culture=neutral, PublicKeyToken=17863af14b0044da'  Nop.Web  E:\DOTNET\Source Code\NopCommerce\Presentation\Nop.Web\CSC  1  Active
6 năm cách đây
Hello,

Can you remove Autofac from reference. And add again from package folder ? Then just build.

Let me know if any issue.

Thanks,
Jatin
6 năm cách đây
jagdeepsingh wrote:
Getting below mentioned version issue after cleaning and rebuild the project:-

Severity  Code  Description  Project  File  Line  Suppression State
Error  CS1705  Assembly 'Nop.Core' with identity 'Nop.Core, Version=3.9.0.0, Culture=neutral, PublicKeyToken=null' uses 'Autofac, Version=4.6.1.0, Culture=neutral, PublicKeyToken=17863af14b0044da' which has a higher version than referenced assembly 'Autofac' with identity 'Autofac, Version=4.4.0.0, Culture=neutral, PublicKeyToken=17863af14b0044da'  Nop.Web  E:\DOTNET\Source Code\NopCommerce\Presentation\Nop.Web\CSC  1  Active


It is because of diff. versions, check in an error Autofac, Version=4.6.1.0 and Autofac, Version=4.4.0.0  
Check referenced Autofac version and make sure that both are running on same version.
6 năm cách đây
forefront wrote:
Hello,

Can you remove Autofac from reference. And add again from package folder ? Then just build.

Let me know if any issue.

Thanks,
Jatin


It's not good step,After removing "Autofac" giving lot of errors.
6 năm cách đây
jagdeepsingh wrote:

It's not good step,After removing "Autofac" giving lot of errors.


He didn't say to just remove the ref. of that DLL. Did you add it again?
remove Autofac from reference. And add again from package folder
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.