Outline ·
[ Standard ] ·
Linear+
FormFile in .NET Core 3.1?
TSvirusspreader
|
Jan 28 2020, 04:14 PM, updated 5y ago
|
|
Hi all, Would like to ask if anyone has encountered the following situation? I'm doing a migration for one of my .NET Core which was using .NET Core 2.2 previously, would like to migrate it .NET Core 3.1. However, after changing the reference projects, I realise that .NET Core 3.1 doesn't have the Microsoft.AspNetCore.Http namespace which was previously present in .NET Core 2.2. Can any sifus point me to where this Microsoft.AspNetCore.Http is located in .NET Core 3.1? This post has been edited by virusspreader: Jan 28 2020, 04:15 PM
|
|
|
|
pangch
|
Jan 29 2020, 12:23 AM
|
Getting Started
|
go to nuget and download the Microsoft.AspNetCore.Http. it support Netcore 3.1
|
|
|
|
TSvirusspreader
|
Jan 29 2020, 10:40 AM
|
|
QUOTE(pangch @ Jan 29 2020, 12:23 AM) go to nuget and download the Microsoft.AspNetCore.Http. it support Netcore 3.1 Hi pangch, thanks for replying. Would you mind pointing me to the nuget package that u are referring to? Coz the one i managed to search is only supporting until 2.2.0. (link) This post has been edited by virusspreader: Jan 29 2020, 10:45 AM
|
|
|
|
TSvirusspreader
|
Jan 29 2020, 03:41 PM
|
|
Figured out the solution, just in case anyone is still wondering... From the article Migrate from ASP.NET Core 2.2 to 3.0, it seems that Microsoft.AspNetCore.App is removed. There is a section that mentioned that projects that target Microsoft.NET.Sdk or Microsoft.NET.Sdk.Razor SDK, should add an explicit FrameworkReference to Microsoft.AspNetCore.App. Hope this helps others who experience the issue that I had.
|
|
|
|