-
Notifications
You must be signed in to change notification settings - Fork 525
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
Bug in dotnet try command ( red area when executing code ) #938
Comments
I have this issue now as well, where the network tab of my browser says: {
"exception": "System.AggregateException: One or more errors occurred. (Unsupported log file format. Latest supported version is 9, the log file has version 13.)" ...,
"message": "An unhandled exception occurred."
} Also,
And, I have a déjà vu: It seems that it worked fine with the .NET Core SDK Repo project: https://github.com/Flash0ver/F0-Talks-MutationTesting/tree/main/presentation |
Yup, this looks like it's due to a change in the log format for MSBuild. We'll look into whether we can support multiple versions and/or roll forward to .NET 5. |
I have same probleme, if any one can help please |
I used the following steps to fix the "Unsupported log format error":
The internal server errors should be fixed. Run |
@MaartenGDev |
@ssedlak2278 This error happens if you do not have a SSH key configured in your GitHub profile. You can try cloning using:
You need to follow the steps in #938 (comment) again after cloning the repository. |
@MaartenGDev It worked! Thank you. |
Doesn't help for me, tried in multiple browsers as well. Verify outputs a bunch of errors for me as well. It would be neat if there were a docker-image with a known working configuration so one could pull and run that image and just run the samples without worrying about problems in local environments. I run MacOS and have tried in Chrome as well as Safari. |
@Hultner which version of .NET 3.1 do you have installed? Can be checked using |
$ dotnet --list-sdks
2.2.105 [/usr/local/share/dotnet/sdk]
2.2.204 [/usr/local/share/dotnet/sdk]
3.0.100 [/usr/local/share/dotnet/sdk]
3.1.416 [/usr/local/share/dotnet/sdk]
6.0.101 [/usr/local/share/dotnet/sdk] Looks like 3.1.416, which I also added to the global.json file according to your instructions. |
Same error on a Mac (not M1) 2.2.207 [/usr/local/share/dotnet/sdk] |
This works for me, Thanks. |
Just added the {
"sdk": {
"version": "3.1.416"
}
} |
same error in macOS(not M1), as advised from @MaartenGDev in my project folder but failed to fix this issue. |
BIG LOVE! BRO |
I followed the instructions in this comment At first it did not fix my problem. dotnet try verify did not run successfully. The browser still showed red. I then restarted my browser, and the red box in the browser went away. Success! Here is what my global.json looks like:
For me, it is OK to ignore the dotnet try verify errors, for now. |
This is the process I followed to resolve the error, for your reference. mkdir mydoc
cd mydoc
dotnet new console -n myApp -f netcoreapp3.1 cd myApp create a new file "global.json" {
"sdk": {
"version": "3.1.416"
}
} in file version node content look your local sdk list dotnet --list-sdks cd mydoc create file doc.md # My Interactive Document:
```cs --source-file ./myApp/Program.cs --project ./myApp/myApp.csproj
``` dotnet try verify
dotnet try it's worked |
Describe the bug
I'm trying to execute dotnet try to try code samples of this repo but when I'm try run the code, I got this red area without any message.
What can I do in this case????
I really need help to fix this problem because I'm following a Linkedin course that use this tool .
Did this error occur while using
dotnet try
or online?dotnet-try
What kind of error was it?
Screenshots
Please complete the following:
Update:
I saw that the problem come from Kaspersky Antivirus, so when I disable the antivirus, the error is gone.
But this is not a good solution , I would like to know how can I add an except for the
localhost
??The text was updated successfully, but these errors were encountered: