1

WSPBuilder を使用してサンドボックス化された共有ポイント ソリューションを構築しようとしていますが、この機能を有効にすると、Resourcesmanifest.xml の要素が無効であるという例外が発生します。Resources 要素は、機能の一部であるモジュールに含まれるファイルを一覧表示します。WSPBuilder なしで作成された同じソリューションをアクティブ化できるため、ソリューションにはサンドボックス化できない機能は含まれていません。誰かがこれをやろうとして、それを機能させましたか?

これは、wspbuilder によって作成された manifest.xml です (わずかに匿名化されています)。

<?xml version="1.0"?>
<!-- Solution created by WSPBuilder. 06.01.2011 15:02:38 * Solution compatibility: SharePoint 2010 -->
<Solution SolutionId="2235f481-04a4-4e9c-8c04-ed71c0b68cdf" Title="Branding Sandboxed" xmlns="http://schemas.microsoft.com/sharepoint/">
  <Assemblies>
    <Assembly Location="BrandingSolution.dll" DeploymentTarget="GlobalAssemblyCache" />
  </Assemblies>
  <FeatureManifests>
    <FeatureManifest Location="Branding\feature.xml" />
  </FeatureManifests>
  <Resources>
    <Resource Location="Branding\abc.master" />
    <Resource Location="Branding\abcscript.js" />
    <Resource Location="Branding\abcstyle.css" />
    <Resource Location="Branding\bg_resourceregion.gif" />
    <Resource Location="Branding\favicon.ico" />
    <Resource Location="Branding\jquery-1.4.2.min.js" />
  </Resources>
</Solution>

VS によって作成された manifest.xml は次のとおりです (VS ツールで作成されたものと同じ機能)。

<?xml version="1.0" encoding="utf-8"?>
<Solution xmlns="http://schemas.microsoft.com/sharepoint/" SolutionId="50e67e9e-2e3f-4034-8a0d-5aa7ce8dc89e" SharePointProductVersion="14.0">
  <Assemblies>
    <Assembly Location="SandboxedBranding.dll" DeploymentTarget="GlobalAssemblyCache" />
  </Assemblies>
  <FeatureManifests>
    <FeatureManifest Location="SandboxedBranding_Branding\Feature.xml" />
  </FeatureManifests>
</Solution>
4

0 に答える 0