Skip to content

System.NotSupportedException: Unsupported log file format. Latest supported version is 9, the log file has version 14.Unsupported log file format. Latest supported version is 9, the log file has version 14. #1075

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

Closed
4 of 13 tasks
jonowilliams26 opened this issue May 14, 2023 · 1 comment

Comments

@jonowilliams26
Copy link

jonowilliams26 commented May 14, 2023

Describe the bug

When running dotnet try demo and trying to execute a code block, a red block appears in the output. When using --verbose flag the console output shows System.NotSupportedException: Unsupported log file format. Latest supported version is 9, the log file has version 14.

I have tried following the steps in this issue, but it didnt fix the problem.

I have also added a global.json to the project root to make sure it was using dotnet 3.1 rather than the latest dotnet 7 installed on my machine.

{
  "sdk": {
    "version": "3.1.426"
  }
}

Did this error occur while using dotnet try or online?

  • dotnet-try
  • online

What kind of error was it?

  • User Interface (UI): For example the output never displayed
  • Service Error: For example "The service is temporarily unavailable. We are working on it"
  • Other:

Screenshots

image
image
image

Please complete the following:

  • OS
    • Windows 10
    • macOS
    • Linux (Please specify distro)
    • iOS
    • Android
  • Browser
    • Chrome
    • Edge
    • Safari
@jonowilliams26
Copy link
Author

This issue was resolved by uninstalling the .NET 5 and 7 SDK and runtimes. After they were removed and running dotnet try demo it worked without issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant