You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is is possible to remove the dependency to the depracted nuget package 'Microsoft.AspNetCore.StaticFiles' (AspNetCore 2.2, ...)?
And I assume that a FrameworkReference to Microsoft.AspNetCore.App is not wanted for sure.
A least with .NET 9 it will lead to critical security vulnerability warnings (NU1904)
FileExtensionContentTypeProvider.cs
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
Is PnP.Framework part auf the .NET Foundation?
The text was updated successfully, but these errors were encountered:
gszdev
changed the title
Microsoft.AspNetCore.StaticFiles 2.2.0 is deprecated a leads to a lot of critical security vulnerability warnings (NU1904)
Microsoft.AspNetCore.StaticFiles 2.2.0 is deprecated and will lead to a lot of critical security vulnerability warnings (NU1904)
Nov 13, 2024
Is is possible to remove the dependency to the depracted nuget package 'Microsoft.AspNetCore.StaticFiles' (AspNetCore 2.2, ...)?
And I assume that a FrameworkReference to Microsoft.AspNetCore.App is not wanted for sure.
A least with .NET 9 it will lead to critical security vulnerability warnings (NU1904)
A simple copy of FileExtensionContentTypeProvider.cs should be enough to repace the usage in ObjectTeams.cs new FileExtensionContentTypeProvider().TryGetContentType(photoPath, out contentType);
Or use the MimTypeMap like from PnP.Core PnP.Core/Utilities/MimeTypeMap.cs
But I don't know wether the licensing allows it.
FileExtensionContentTypeProvider.cs
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
Is PnP.Framework part auf the .NET Foundation?
The text was updated successfully, but these errors were encountered: