我正在创建一个MVC4 Web应用程序项目.当我使用空项目并只是在浏览器上运行它工作正常.但问题是当我正在尝试创建一个Internet应用程序项目而不是Empty project.Once我创建互联网应用程序项目,当试图在浏览器上运行它时,它显示以下配置错误.我明白这是与MySQL连接器程序集引用相关的东西.以下是错误.
Server Error in '/' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Could not load file or assembly 'MySql.Web.v20, Version=6.9.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified.
Source Error:
Line 265: <providers>
Line 266: <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="LocalSqlServer" enablePasswordRetrieval="false" …Run Code Online (Sandbox Code Playgroud) 我想在div标签之后添加一个三角形.因此我在伪元素之后使用了css3.但它不起作用.以下是我的css规则.
.header-wrapper .part1 ::after {
width: 0;
height: 0;
border-left: solid 48.35px #f21e1e;
border-bottom: solid 48.35px transparent;
border-top: solid 48.35px transparent;
}
Run Code Online (Sandbox Code Playgroud)
以下是我的HTML部分
<div class="header-wrapper">
<div class="part1"></div>
</div>
Run Code Online (Sandbox Code Playgroud)