SharePoint Foundation 2010中的\'SPUrl\'前缀
|
我正在使用SharePoint Foundation 2010。
有一个母版页v4.master。我想在头部添加一些控件:
<head>
...
<SharePoint:CssRegistration name=\"<% $SPUrl:~SiteCollection/Style Library/demo.css%>\" runat=\"server\"/>
...
</head>
然后将下一个代码添加到web.config中:
<compilation batch=\"false\" debug=\"false\">
...
<expressionBuilders>
...
<add expressionPrefix=\"SPUrl\" type=\"Microsoft.SharePoint.Publishing.WebControls.SPUrlExpressionBuilder, Microsoft.SharePoint.Publishing, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c\"/>
</expressionBuilders>
</compilation>
但是GAC或C:\\ Program Files \\ Common Files \\ Microsoft Shared \\ Web服务器扩展\\ 14中没有程序集Microsoft.SharePoint.Publishing.dll。我如何在Web.config中包含\'SPUrl \'?
没有找到相关结果
已邀请:
2 个回复
樊熄忙暖
队辅坟阮阶