Skip to content
Discussion options

You must be logged in to vote

You’re right that MSBuild has historically emitted localized comments into generated source files (including AssemblyInfo.cs), and your example from WriteCodeFragment is accurate. There does not appear to be an explicit statement in MSBuild documentation that forbids localized content in generated source files.

My point is based on documented goals and guidance around reproducible / deterministic builds, rather than a single rule targeting comments specifically.

Some relevant references:

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@PetSerAl
Comment options

@vst121
Comment options

Answer selected by PetSerAl
@PetSerAl
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants