C-sharp-stack-only-json-parser icon indicating copy to clipboard operation
C-sharp-stack-only-json-parser copied to clipboard

Cannot modify model

Open gallun320 opened this issue 3 years ago • 2 comments

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

gallun320 avatar Dec 24 '20 10:12 gallun320

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?

TomaszRewak avatar Dec 25 '20 21:12 TomaszRewak

@gallun320, were you able to resolve the issue?

TomaszRewak avatar Jan 05 '21 21:01 TomaszRewak