I’ve just created a new ASP.NET Core application.
Trying to sort out my styles, I see a number of styles that are affecting my site’s appearance, and these styles are in a file called:
/UnitConversions.styles.css?v=UwuMegbk9MiovbtuJ5vTUyhs96HY9tiIc2YiWFg9YOM
Seems simple enough. But I don’t have any file with this name.
So how do I edit the settings in the file?
2
Answers
The file is apparently created by Visual Studio. In addition, it adds a strange attribute to most of my elements. This is apparently related to ASP.NET Core Blazor CSS isolation.
One way to deal with it is to disable this feature by adding the following line to the project file.
Try to locate the file in wwwroot folder, filename is:
And the rest which is:
Is a querystring appended to url just to control the version of css file