Closed avonheimburg closed 5 years ago
@amis92 can you help?
Question 1: Have you followed README? Often-missed point is the <DotNetCliToolReference>
element in https://github.com/AArnott/CodeGeneration.Roslyn#apply-code-generation
Question 2: If still not working: Can you check whether https://github.com/jaredthirsk/CodeGeneration.Roslyn.Walkthrough builds for you?
Question 3: If still not working: Can you provide output of your dotnet --info
?
Closing because OP didn't follow up.
I am sorry if I abuse this as a support forum. I am having trouble getting a project using a code generator to work under Linux (necessary for our build infrastructure).
I can compile the codegenerator project itself just fine, but when I try to build a project that uses that, I get
... and the subsequent compilation failures because of the missing generated files, of course.
Installed sdks.
The dotnet-codegen.dll exists, trying to run it manually yields another error (though that may be fine):
I have tried targeting netcoreapp2.0, netcoreapp2.1 and netcoreapp2.2 - all with the same result. Any pointers on where to go from here?