© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
4 replies
driib

❔ Getting rid of System.Net.Http.Formatting

Hi, I am trying to migrate an old ASP.NET MVC 4 / Net 4.5 app to ASP.NET 5 / Net 4.8 (with an eye on switching the libraries to .NET Standard 2.0 and the API to .Net Core 7 with Razor Pages later). I got it to build by downgrading from MVC 5.2.9 to 5.2.3 and adding obscure System.Net.Http.Formatting.Extension package from Nuget that didn't come with any README.

Two problems/questions:

1. While the MVC 5 project builds and runs locally (VS 2022 17.5.4, MSBuild version 17.5.1, .NET Framework 4.8.09032), it doesn't build on Github Actions (MSBuild version 17.5.1) https://github.com/OSLC/oslc4net/actions/runs/4723543633/jobs/8379639727
2. How can I get rid of the kludge System.Net.Http.Formatting.Extension and upgrade to the latest MVC 5.2.9? I read I read https://github.com/Microsoft/dotnet/blob/main/releases/net472/KnownIssues/613745%20-%20Single-name%20references%20are%20removed%20by%20the%20SDK%20when%20targeting%204.7.2.md but while it makes the problem clear, it doesn't seem to help.

Thank you in advance!
GitHub
WIP: Create MVC5 version of the StockQuoteSample · OSLC/oslc4net@60...
Contribute to OSLC/oslc4net development by creating an account on GitHub.
WIP: Create MVC5 version of the StockQuoteSample · OSLC/oslc4net@60...
GitHub
dotnet/613745 - Single-name references are removed by the SDK when ...
This repo is the official home of .NET on GitHub. It's a great starting point to find many .NET OSS projects from Microsoft and the community, including many that are part of the .NET Found...
dotnet/613745 - Single-name references are removed by the SDK when ...
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

❔ System.Net.HTTP missing
C#CC# / help
3y ago
❔ System.Net.Http Not Found
C#CC# / help
4y ago
❔ System.Net.Http truncates one of the response attributes
C#CC# / help
4y ago