how to stop css isolation in asp.net core?

mc 5,426 Reputation points
2023-07-19T09:46:59.48+00:00

I do not want to use it.

Developer technologies ASP.NET ASP.NET Core
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    2023-07-20T01:54:54.91+00:00

    Hi,@mc,

    You could try as below in your project file follow this document:

    <PropertyGroup>
        .....
        <ScopedCssEnabled>false</ScopedCssEnabled>
    </PropertyGroup>
    
    
    

    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Best regards,

    Ruikai Feng

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 77,686 Reputation points Volunteer Moderator
    2023-07-19T15:30:32.75+00:00

    simple, pick a different naming scheme than the one requires for isolation. or place all the css files in the style folder.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.