小编Sea*_*ley的帖子

CSS nth-child 1-6,7-12等

我正在尝试如下设计儿童项目的样式

1,7,13等

2,8,14等

3,9,15等

4,10,16等

5,11,17等

6,12,18等

我可以用什么nth-child语法来实现这个目的?

css css-selectors

6
推荐指数
1
解决办法
3266
查看次数

无法加载我从未添加过的文件或程序集“Microsoft.SharePoint.Library”

我一直在开发一个与 SharePoint Online 实例连接的 .NET Web 应用程序。一切都很顺利,直到我突然开始收到以下错误

Could not load file or assembly 'Microsoft.SharePoint.Library, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified.
Run Code Online (Sandbox Code Playgroud)

这是我从未添加到项目中的文件或程序集。我仅通过 NUGET 添加了以下 SharePoint 包

  • JohnHolliday.Caml.Net.SharePoint
  • SharePoint.客户端
  • SharePoint.客户端.运行时
  • SharePoint.客户端.搜索

任何帮助将不胜感激。

更新

已安装 SharePoint Server 2013 客户端组件 SDK,其中包括以下内容

Microsoft.Office.Client.Education.dll
Microsoft.Office.Client.Policy.dll
Microsoft.Office.Client.TranslationServices.dll
Microsoft.SharePoint.Client.dll
Microsoft.SharePoint.Client.DocumentManagement.dll
Microsoft.SharePoint.Client.Publishing.dll
Microsoft.SharePoint.Client.Runtime.dll
Microsoft.SharePoint.Client.Search.Applications.dll
Microsoft.SharePoint.Client.Search.dll
Microsoft.SharePoint.Client.Taxonomy.dll
Microsoft.SharePoint.Client.UserProfiles.dll
Microsoft.SharePoint.Client.WorkflowServices.dll
Run Code Online (Sandbox Code Playgroud)

不幸的是,没有 Microsoft.SharePoint.Library。

更新

终于解决了问题。项目的bin文件夹中有一个SharePoint.dll,删除后项目就能正常运行。

c# asp.net-mvc sharepoint sharepoint-online

5
推荐指数
1
解决办法
2万
查看次数

IIS URL重写 - 如果URL包含,则忽略

我在web.config中按照我的意愿进行了以下URL重写设置.

<rule name="Product Rewrite" stopProcessing="true">
  <match url="^products/([^$]+)/([^$]+)" />
  <action type="Rewrite" url="products?durl={R:1}&amp;purl={R:2}" />
</rule>
Run Code Online (Sandbox Code Playgroud)

现在我需要排除任何包含// action/edit结尾的URL,即产品/动作/编辑

我知道我需要一个条件块,但我不知道该写什么.

任何帮助将不胜感激.

asp.net webforms url-rewriting

4
推荐指数
1
解决办法
3332
查看次数