Skip to content

Conversation

@kzu
Copy link
Member

@kzu kzu commented Feb 22, 2022

Since the generated code is typically internal only, it doesn't make a lot of sense to
make the packages transitive (via the buildTransitive targets) to referencing projects.

The decision on whether a specific project needs its own ThisAssembly or not
should be on the consumer.

This also removes the error where the referenced project that uses these packages
also has an InternalsVisibleTo to the referencing project ,which would then cause
an ambiguous reference to ThisAssembly since it lives in two places with the exact
same name.

Fixes #86

@kzu kzu enabled auto-merge (rebase) February 22, 2022 14:05
Since the generated code is typically internal only, it doesn't make a lot of sense to
make the packages transitive (via the buildTransitive targets) to referencing projects.

The decision on whether a specific project needs its own ThisAssembly or not
should be on the consumer.

This also removes the error where the referenced project that uses these packages
also has an InternalsVisibleTo to the referencing project ,which would then cause
an ambiguous reference to ThisAssembly since it lives in two places with the exact
same name.

Fixes #86
@kzu kzu merged commit a9ce936 into main Feb 22, 2022
@kzu kzu deleted the dev branch February 22, 2022 17:19
@devlooped devlooped locked and limited conversation to collaborators Sep 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Packages should not be transitive

2 participants