-
-
Notifications
You must be signed in to change notification settings - Fork 283
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
Support for .NET 6 and 7 deprecated in minor version #706
Comments
Same issue here. Is there a way to force using version 5.3.11 to still be compatible with .net 6? |
Same issue for us too. We have addded the The deprecated warning would have been more than appreciated for this change. |
In our side, we have a Powershell@2 task where we force a version but then when we run the task This breaking change should have been a new version of the task |
@giovannimele
|
We use the command line instead of the task. But I agree with you, a new version of the task or the use of the deprecated warning would have been a better way to handle this. |
@erikbjoernestad thx! This solved our issue. |
.NET 6 and 7 are no longer supported by Microsoft. You should upgrade to .NET 8 or 9 as soon as possible. The build agents provided by Microsoft already have .NET 9 installed. If you have a custom build agent you should consider updating it. @delilahw This year .NET 6 and 7 got dropped as they are out of support. This is also documented here: https://github.com/danielpalme/ReportGenerator/releases/tag/v5.4.0 As mentioned by @erikbjoernestad you can pin the previous release which supports .NET 6 and 7. |
Also It seems the latest version is not respecting -fileFilters argument altogether - we have started using latest tool with .net 8, but suddenly all our code converge percentage is dropped as exclusions are not considered and excluded files are also included in calculating the code coverage - can this be fixed please @danielpalme |
@rohitgupta-ipo |
@erikbjoernestad . we are using this as Azure devops Task. Is there any way to provide specific version ? |
@ruskinb1
|
@danielpalme Thank you for your response and your ongoing work on this project. We understand that dropping support for older .NET versions in a minor release has been the precedent (e.g. last year's v5.2.0). However, some consumers — like others on this thread — pin only the major version ( To address this, @mmonteiroc and @Marc-fra76 had some good suggestions:
We really appreciate you considering this feedback! =) |
In a "perfect" world I would agree. But major releases cause another problem:
Will consider this next year, when .NET 10 ships. |
@danielpalme Thanks so much for taking it into consideration! We really appreciate it. |
Describe the bug
Hey, it appears that support for .NET 6/7 was dropped in the latest minor version. Starting from v5.4.0, .NET 8/9 is required instead.
Should this change be a major version instead? Previous changes to .NET versioning requirements were published in major releases:
To Reproduce
Running the ReportGenerator on systems without the .NET 8 or .NET 9 Runtimes will fail. Example ADO output:
The text was updated successfully, but these errors were encountered: