OrchardCMS / Orchard

Orchard is a free, open source, community-focused Content Management System built on the ASP.NET MVC platform.
https://orchardproject.net
BSD 3-Clause "New" or "Revised" License
2.38k stars 1.12k forks source link

When libs get updated the Dependencies folder can get outdated #2336

Open orchardbot opened 12 years ago

orchardbot commented 12 years ago

@Piedone created: https://orchard.codeplex.com/workitem/18509

Repro: 1) Take an Orchard 1.3 source installation (already set up). 2) Overwrite the source files with the 1.4 source. 3) Rebuild or even clean the project. 4) Get an exception regarding that there is a mismatch of version of Lucene.NET assemblies.

That's because there remains an outdated dll in the App_Data/Dependencies, even after the solution was cleaned and rebuilt. Solution is to simply delete the folder but this is not obvious.

I think this is not specific to the 1.3-1.4 migration but could happen every time a dependency is updated.

orchardbot commented 12 years ago

AimOrchard commented:

I ran into this issue before.

orchardbot commented 11 years ago

middlewest commented:

Did you resolve the issue?

orchardbot commented 11 years ago

@Piedone commented:

You could just delete the Dependencies folder.

Piedone commented 9 years ago

Related: #2810

GioviQ commented 8 years ago

I am trying to update a single dll of a module, but the dll file is in use in Dependencies folder. How to do that, without restart the entire site (multitenant in my case)?

Piedone commented 8 years ago

You can't update a DLL of an ASP.NET app without restarting it, Orchard or not.

Skrypt commented 8 years ago

I never tried yet but I have doubts about that @Piedone. If we dynamically compile them and load them why could'nt we dynamically update them ?

GioviQ commented 8 years ago

@Piedone for other ASP.NET apps I always overwrote dll without problems.