-
Ok, instead of fumbling through this any further ... I ran "make FORMATTER=json > report4.json" and trimmed the leading lines of console output off (see attached). The PrimeView solution builds (VS2022 Community) and successfully loads the data (which I assume is the S3Bucket data). I'll be damned if I can figure out how to point it to a local file though? FWIW, I've placed the generated report4.json file in the "...\src\Frontend\bin\Debug\net6.0\publish\wwwroot\data" directory with the other json files. Questions:
Thanks for any help - I'm sure I'm missing something silly. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@snarkipus There are two ways to answer this question:
Also make sure you add report4.json to src/Frontend/wwwroot/data instead of wwwroot/data in the publish tree (VS will still copy it there). For some reason, with VS2022, IIS Express seems to insist on loading its data from the project source wwwroot directory. |
Beta Was this translation helpful? Give feedback.
@snarkipus There are two ways to answer this question:
"BaseURI"
and"IsS3Bucket"
attributes in appsettings.json.Also make sure you add report4.json to src/Frontend/wwwroot/data instead of wwwroot/data in the publish tree (VS will still copy it there). For some reason, with VS2022, IIS Express seems to insist on loading its data from the project source wwwroot directory.