'already has a default theme' 运行时错误信息

'already has a default theme' runtime error message

一个 ASP.NET webforms 应用程序定义了一个主题,并且在 Visual Studio 中有一个 .skin 文件。

当我构建和 运行 这个 webapp 时,我得到一个 运行 时间错误:

GridView already has a default theme defined

我试过:

我该怎么做才能解决这个错误?

确保项目只有1个.skin文件。 (在目录中)

如果您看到 2 个或更多扩展名为 .skin 的文件,请重命名扩展名或删除不需要的文件。

希望对您有所帮助