When upgrading Bootstrap to v4.0.0 release, the bundler and minifier doesn’t work properly due to CSS variable is commonly used:
About 26 errors will show up in the Error List with the following message:
Expected semicolon or closing curly-brace found '-'
The environment in my machine has the following setup:
Downgrading the package to 2.5.357 doesn't fix the problem in my environment though some people mentioned it can work.
This issue in BuildBundlerMinifier is caused by another issue in package NUglify:
This issue has not been fixed yet.
It is also raised in GitHub:
Before this issue is fixed, you can use any of the following approaches to get it work:
I will keep this post updated when the issue is fixed permanently.
After upgrading to ASP.NET Core 2.1 (.NET Core SDK 2.1.301), you may encounter the following error about encoding: System.ArgumentException HResult=0x80070057 Message='Cyrillic' is not a supported encoding name. For information on defining a custo...View detail
In .NET Core 2.x, Windows Forms or WPF are not implemented since they are based on GDI+ and DirectX respectively in Windows. In .NET Core 3.0, there is plan to add Desktop Packs which includes UWP. WPF and Windows Forms. However, they will still be Windows-only. In .NET Core applications, you may...View detail
IP Address In ASP.NET Core, Request.UserHostAddress has been removed though that attribute exists in the traditional ASP.NET applications. We can use HttpContext.Connection to retrieve the remove client IP address: var ipAddress = HttpContext.Connecti...View detail
The identity system in ASP.NET has evolved over time. If you are using ASP.NET Core, you probably found User property is an instance of ClaimsPrincipal in Controller or Razor views. Thus to retrieve the information, you need to utilize the claims.View detail
In ASP.NET Core, we can easily use user secrets to manage our password or credentials. This post will summarize the approaches we can use after the websites are deployed into Azure.View detail
In traditional asp.net applications, Server.MapPath is commonly used to generate absolute path in the web server. However, this has been removed from ASP.NET Core. So what is the equivalent way of doing it?View detail