-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Add Try methods to JsonObject #111229
base: main
Are you sure you want to change the base?
Add Try methods to JsonObject #111229
Conversation
@dotnet-policy-service agree |
@eiriktsarpalis Sorry to trouble you, I would have written some tests, but at the moment I seem not to be able to run any. I followed the testing guide here: docs/workflow/testing/libraries/testing.md Neither |
Don't use the global |
@huoyaoyuan then how can I debug in Visual Studio if I need to use dotnet.cmd? Also, for example, if I needed to execute the tests in |
@Flu You can use the
That should make it possible to run tests from the test explorer as normal. |
@eiriktsarpalis I am now getting this error when trying to run the tests from inside visual studio after I've used your command:
This has nothing to do with my changes, as it's happening on the main branch as well, most recent commit. |
As per the API proposed in #110244, the following functions have been added to
JsonObject
:This resolves #110244