jamescourtney / FlatSharp

Fast, idiomatic C# implementation of Flatbuffers
Apache License 2.0
511 stars 51 forks source link

Clean build fails when using FlatSharp.Compiler #45

Closed ccorsano closed 4 years ago

ccorsano commented 4 years ago

When using build-time generation, the first build fails as the newly generated .cs files are not added to the current compilation task. Second build runs fine, which is the workaround I am currently using in my automation.

jamescourtney commented 4 years ago

Interesting, thanks. I think this may have to do with not adding the new CS project as a element. I've also always checked in an empty .cs file for it to overwrite. Thanks for bringing this up.

jamescourtney commented 4 years ago

This should be fixed by #55