Two DLLs with the same namespace and type with Nuget

I have two DLLs with different names that I need to use in a project. I can do this using extern alias, as shown below: https://msdn.microsoft.com/en-us/library/ms173212.aspx

This is due to changing the alias property of the link from globalanother value in Visual Studio.

The problem is that we started using the Nuget package manager, and every time the package is updated, this property returns to global. Is there a way to get build aliases working with Nuget?

+4
source share

Source: https://habr.com/ru/post/1613638/


All Articles