C-sharp-stack-only-json-parser
C-sharp-stack-only-json-parser copied to clipboard
Cannot modify model
Hi Tomasz,
I have a problem while trying to integrate parser in my project. When I modify StackOnlyJsonField after the first generation my model wasn't re-generation and I couldn't find where files were generated. Could you please help me?
Best regards, Alex
Hey (and merry Christmas :P),
I don't think the generated files can be easily found in the project structure - they are just compile-time temporary files stored somewhere on the disk outside of the repo. When I try to inspect them in the VS and copy the full path of those files, I can see that for me they are stored in the AppData\Local\Temp\VSGeneratedDocuments
.
But nevertheless, the model should be regenerated on each build. So if you make a change to a model, the Intellisense may not pick it up right away, but the changes should be available after you rebuild the project.
If that's not the case, then I wonder - maybe the change caused some exception in the code generator. Though in this case I would expect the generated code not to be available at all - instead of it being stuck with the previous (first) version.
Could you please post some more details? What change did you make to your model?
@gallun320, were you able to resolve the issue?