我正在尝试 tp 将 favicon 放在母版页中,但它没有显示在浏览器上,VS 没有显示错误
母版页代码
<head runat="server">
<title>My Test Application</title>
<link href="~/Styles/Site.css" rel="stylesheet" type="text/css" />
<link id="Link1" runat="server" rel="shortcut icon" href="~/favicon.ico" type="image/x-icon" />
<link id="Link2" runat="server" rel="icon" href="~/favicon.ico" type="image/ico" />
<asp:ContentPlaceHolder ID="HeadContent" runat="server">
</asp:ContentPlaceHolder>
</head>