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.
The Package Management ta Packagereference
Obs/Clarifications:
- I don’t want to change the namespace but the output dll’s names
- There are several (2 or 3) (distinct) projects in the same folder.
- 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 ?
- 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.
– Ricardo Pontual
then there’s no way I can put two "System.Threading.Tasks.Extensions.dll" in a folder that are different versions ?
– william silva
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
– Ricardo Pontual
See if that reply help you.
– Bruno Warmling
Package management ta Packagereference, there is no way to put alias I think .... @Brunowarmling
– william silva
@Ricardopunctual "defined when adding the reference to the project and compiling the code " how can I do this ... I have access to the project .
– william silva
@williamsilva has already tried to use the Bindingredirect? You can use two versions of the same . dll using this technique.
– Bruno Warmling
You can even use two versions, but you should?
– Leandro Angelo
@Brunowarmling is only if I use Packages.config ... as my ta packageReference is not possible ...
– william silva
@Leandroangelo is distinct ... com dll’s projects - different versions , but they need to stay in the same folder.
– william silva