I need to reference two assemblies, both of them contain the same type. The answer from Type exists in 2 assemblies would be useful, but I'm using PackageReference not packages.config and references. Package reference doesn't have the alias option:
<PackageReference Include="<package-id>" Version="" PrivateAssets="" IncludeAssets="" ExcludeAssets="" />
Is there any other way?
Example:
Create a new Console .NET 4.6.1 app. Change default package management format to PackageReference in Options > NuGet Package Manager > General. Add two NuGet packages: 'squirrel.windows' and 'NuGet.Core' (required for 'NuPlug').
var pm = new NuGet.PackageManager()