Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aliasing Marc Gravell's protobuf-net #16

Open
foxyseta opened this issue Jun 23, 2023 · 3 comments
Open

Aliasing Marc Gravell's protobuf-net #16

foxyseta opened this issue Jun 23, 2023 · 3 comments

Comments

@foxyseta
Copy link
Contributor

foxyseta commented Jun 23, 2023

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.
@SimonCropp
Copy link
Contributor

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

@foxyseta
Copy link
Contributor Author

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
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants