In our ASP.NET Core web application, we manage our client-side libraries in a libman.json file and restore them during build using the "Microsoft.Web.LibraryManager.Build" PackageReference in the .csproj. We use cdnjs as the default provider.
Starting today, the restore during build fails with the first client-side library to be restored:
Severity Code Description Project File Line Suppression State
Error LIB002 The "twitter-bootstrap@3.4.1" library could not be resolved by the "cdnjs" provider yyyy.zzzz C:\Users\xxxx\source\repos\yyyy\src\yyyy.zzzz\libman.json 5
Describe the bug
In our ASP.NET Core web application, we manage our client-side libraries in a libman.json file and restore them during build using the "Microsoft.Web.LibraryManager.Build" PackageReference in the .csproj. We use cdnjs as the default provider.
Starting today, the restore during build fails with the first client-side library to be restored:
Severity Code Description Project File Line Suppression State Error LIB002 The "twitter-bootstrap@3.4.1" library could not be resolved by the "cdnjs" provider yyyy.zzzz C:\Users\xxxx\source\repos\yyyy\src\yyyy.zzzz\libman.json 5
cdnjs started rolling out some API change, which might be the reason for the failed restore, see https://github.com/cdnjs/cdnjs/issues/14140
Expected behavior
client-side libraries should be downloaded
Additional context
Visual Studio 2022 17.2.4 Using the "Microsoft.Web.LibraryManager.Build" PackageReference with my ASP.NET Core Project