-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Run blazor create/build/publish as part of template tests #34275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
} | ||
|
||
var appSettings = ReadFile(serverProject.TemplateOutputDir, "appsettings.json"); | ||
var element = JsonSerializer.Deserialize<JsonElement>(appSettings); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any chance you could only use STJ? Most of the things this is doing should be achievable using a JsonDocument or using an actual type.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just lifted this from the existing template tests, do you want me to file a cleanup issue to switching both of these?
No description provided.