Emitting only one of the generated source files

352 Views Asked by At

I am working with source generators and I want to generate two files containing partial methods. One file will only have defining declarations and the other will have the methods' implementation.

The question
Is there a way to setup the code generation so that one file is available in the project directory (defining declarations file), and for other not to be emitted outside the compilation.

0

There are 0 best solutions below