dotnet-assembly-alias icon indicating copy to clipboard operation
dotnet-assembly-alias copied to clipboard

Aliasing Marc Gravell's protobuf-net

Open foxyseta opened this issue 1 year ago • 3 comments

Environment

Alias 0.4.3+82222e7b7486be0ad379f4e0a9fb9adfb1107278

Steps to Reproduce

  1. dotnet tool install --global Alias
  2. dotnet add package protobuf-net --version 3.2.26
  3. assemblyalias.exe --suffix _Alias --assemblies-to-alias "protobuf-net*"

Expected Result

The last command gets executed successfully. All the "protobuf-net*" assemblies get aliased correctly ("_Alias" is added to the end of their namespaces) and all the references to them are patched accordingly.

Actual Result

Internalize: False
Suffix: _Alias
AssembliesToAlias:
 * protobuf-net*
Resolved assemblies to alias:
 * protobuf-net.Core
 * protobuf-net

Could not load assembly: System.Xml. It may need to exist in the target directory, or be added to the reference list.

foxyseta avatar Jun 23 '23 12:06 foxyseta

yep that looks like a bug. can you have a go at fixing it

SimonCropp avatar Jun 24 '23 00:06 SimonCropp

Thanks for your reply! I might just have enough time to look into this in the next weeks. If not, I will let you know.

foxyseta avatar Jun 27 '23 07:06 foxyseta

(I assume you were also able to reproduce this?)

foxyseta avatar Jun 27 '23 08:06 foxyseta