Replies: 2 comments 3 replies
-
Nerdbank.GitVersioning also generates a |
Beta Was this translation helpful? Give feedback.
3 replies
-
This is very low pri, since other source generators that use ThisAssembly (i.e. Nerbank.GitVersioning) also generates it as partial and so is 100% compatible. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Right now "ThisAssembly" class is generated.
It works terribly with Rider, see https://youtrack.jetbrains.com/issue/RIDER-25136, when there is another internal ThisAssembly somewhere in other assembly that is not accessible. Rider tries to read another ThisAssembly type instead of using auto generated file.
While it's true, that this issue is in Rider, and should be fixed there, users of this source generator will be blocked for a while, when they use Rider (which is the only one option on Linux and only one good option on macOS).
Also I can imagine situation when developer wants to change type name due of other possible conflicts.
I see at least two ways to workaround it:
Beta Was this translation helpful? Give feedback.
All reactions