Rename Dll output C# Projetoform VB-2019

Asked

Viewed 23 times

0

What I want is to rename the dll without losing the reference .

Example :
System.Threading.Tasks.Extensions.dll for TRANSPCONSUMIR.System.Threading.Tasks.Extensions.dll

But when I just rename, he can’t find the file .
I want to do this because , in the folder that will be the project already has a dll ai version conflict if I change. inserir a descrição da imagem aqui

The Package Management ta Packagereference
inserir a descrição da imagem aqui

Obs/Clarifications:

  1. I don’t want to change the namespace but the output dll’s names
  2. There are several (2 or 3) (distinct) projects in the same folder.
  3. Only that the dll’s of this new project are versions different from the ones in the folder (with the projects) have some way to put the two ?
  4. If not, how can I find out which dll versions are in the folder , to downgrade this new project.
  • "System.Threading.Tasks.Extensions.dll" this is a DLL of the framework, can not rename it, the . NET will fetch it by the name of Assembly.

  • then there’s no way I can put two "System.Threading.Tasks.Extensions.dll" in a folder that are different versions ?

  • has if they do not have the same name, but this is defined when adding the reference to the project and compiling the code, not then renaming in the folder

  • See if that reply help you.

  • Package management ta Packagereference, there is no way to put alias I think .... @Brunowarmling

  • @Ricardopunctual "defined when adding the reference to the project and compiling the code " how can I do this ... I have access to the project .

  • @williamsilva has already tried to use the Bindingredirect? You can use two versions of the same . dll using this technique.

  • You can even use two versions, but you should?

  • @Brunowarmling is only if I use Packages.config ... as my ta packageReference is not possible ...

  • @Leandroangelo is distinct ... com dll’s projects - different versions , but they need to stay in the same folder.

Show 5 more comments
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.