Why EmitCompilerGeneratedFiles doesn't save my file #75232
Replies: 1 comment
-
It's rather hard to help troubleshoot with this little information. Have you tried running a |
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
-
I have that target csproj file:
My source generator has that code:
In the output directory, there are two files, but I expected three. The files present are LoadDataFromExcelAttribute.g.cs and ColumnDescriptionAttribute.g.cs. The source file generated with the ForAttributeWithMetadataName part exists in the IDE, and the code compiles and works. However, it hasn't been saved on disk.
Why does this happen?
Beta Was this translation helpful? Give feedback.
All reactions