Using EmitCompilerGeneratedFiles and CompilerGeneratedFilesOutputPath to keep track of generated files on source control #75141
Answered
by
333fred
MulletPr00f
asked this question in
Q&A
Replies: 1 comment 7 replies
-
|
Beta Was this translation helpful? Give feedback.
7 replies
Answer selected by
MulletPr00f
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using this configuration in my *.csproj:
I have a few questions:
Is there a way to emit generated files only to one specific generator referenced in the project? I don't want to do that to all generators, definitely not to the generators I'm not responsible for, such as the default generators referenced by the Microsoft SDKs.
Is there a way to set
CompilerGeneratedFilesOutputPath
to a relative path of the input file? Examples:\Directory_A\File_A.ext
would generate the file\Directory_A\File_A.generated.ext.cs
\Directory_B\File_B.ext
would generate the file\Directory_B\File_B.generated.ext.cs
Beta Was this translation helpful? Give feedback.
All reactions