Update to .NET 10 - #8
Merged
Merged
Conversation
Removed the legacy Visual Studio .sln file and added a new .slnx solution file referencing the Podcastr project. This modernizes solution management and may improve compatibility with newer tooling.
Changed the TargetFramework in Podcastr.csproj from net9.0 to net10.0 to support the latest .NET features and improvements.
Bump Azure.AI.OpenAI to 2.7.0-beta.2, HtmlAgilityPack to 1.12.4, and Spectre.Console to 0.54.0. Remove System.Text.Json package reference.
Updated TableHelper to display usage metrics (token and character counts) rather than cost breakdowns. Removed all price-related columns and formatting, and updated table titles and parameter names for clarity. Also removed price constants from Statics.cs as they are no longer needed.
Bumps the .NET version used in the GitHub Actions workflow from 9.0.x to 10.0.x to ensure compatibility with the latest .NET features and improvements.
Changed the referenced .NET version from 9 to 10 in the README to reflect the current version used by the project.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request updates the project to target .NET 10 and modernizes the solution and dependencies. It also refactors the console application's usage reporting, shifting from cost breakdowns to usage metrics, and removes legacy pricing logic. The most important changes are summarized below:
Project and Dependency Upgrades:
.github/workflows/dotnet.yml), project file (src/Podcastr/Podcastr.csproj), and documentation (README.md). [1] [2] [3]src/Podcastr/Podcastr.csproj.Solution File Modernization:
Podcastr.slnwith a simplified solution filePodcastr.slnx. [1] [2]Usage Metrics Refactor:
TableHelperto display usage metrics (token and character counts) instead of cost breakdowns, and updated table and parameter names accordingly insrc/Podcastr/Helpers/TableHelper.cs. [1] [2]TableHelperand deleted all pricing constants fromStatics. [1] [2]