Theme 'default' cannot be found in the application or global theme directories.

Muaz 1 Reputation point
2022-06-21T07:44:57.127+00:00

Hello everyone. I have been getting this error. I have already had a file named "default" in my App_Themes folder yet i still got the error. Is there any way to solve this problem.213321-heh.png

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,274 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,624 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 27,356 Reputation points Microsoft Vendor
    2022-06-21T13:50:27.927+00:00

    Hello @Muaz ,

    Welcome to Microsoft Q&A forum.

    Please make sure that you have created a folder named App_Themes in your project folder, and also a subfolder(in App_Themes folder) named default. And then run your project again. If it doesn’t work, please try to clean and rebuild your project, or close VS then restart VS.(you may need to try this several times(2-3) or wait for several seconds)

    Best Regards,
    Tianyu

    • 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.
    0 comments No comments