Integrazione manuale con Visual Studio 2005 o 2008 Report Designer
Contents
[
Hide
]
Si prega di seguire i seguenti passi se si desidera installare manualmente Aspose.Cells for Reporting Services per Microsoft Visual Studio Report Designer, senza l’installatore MSI. Ti consigliamo di utilizzare l’installatore MSI perché esegue automaticamente tutte le installazioni e configurazioni necessarie. Tuttavia, se non riesci ad installare con l’installatore MSI, segui le seguenti linee guida.
Questa sezione descrive come installare Aspose.Cells for Reporting Services su un computer con Business Intelligence Development Studio. Ciò ti consentirà di esportare report in formati Microsoft Excel durante la fase di progettazione dal Microsoft Visual Studio 2005 o 2008 Report Designer.
- Processo di integrazione
- Copia Aspose.Cells.ReportingServices.dll nella directory di Visual Studio.
- Per integrare con Visual Studio 2005 Report Designer: copia Aspose.Cells.ReportingServices.dll nella directory C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies.
- Per integrare con Visual Studio 2008 Report Designer: copia Aspose.Cells.ReportingServices.dll nella directory C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies.
- Registrare Aspose.Cells for Reporting Services come estensione di rendering:
- Open C:\Program Files\Microsoft Visual Studio
\Common7\IDE\PrivateAssemblies\ RSReportDesigner.config (whereis “8” for Visual Studio 2005 or “9.0” for Visual Studio 2008) and add the following lines into the element:
- Open C:\Program Files\Microsoft Visual Studio
XML
<Extension Name="ACXLS" Type="Aspose.Cells.ReportingServices.XlsRenderer,Aspose.Cells.ReportingServices" />
<Extension Name="ACXLSX" Type="Aspose.Cells.ReportingServices.Excel2007XlsxRenderer,Aspose.Cells.ReportingServices" />
<Extension Name="ACXLSB" Type="Aspose.Cells.ReportingServices.XlsbRenderer,Aspose.Cells.ReportingServices" />
<Extension Name="ACXLSM" Type="Aspose.Cells.ReportingServices.Excel2007XlsmRenderer,Aspose.Cells.ReportingServices" />
<Extension Name="ACXML" Type="Aspose.Cells.ReportingServices.SpreadsheetMLRenderer,Aspose.Cells.ReportingServices" />
<Extension Name="ACHTML" Type="Aspose.Cells.ReportingServices.HtmlRenderer,Aspose.Cells.ReportingServices" />
<Extension Name="ACCSV" Type="Aspose.Cells.ReportingServices.CSVRenderer,Aspose.Cells.ReportingServices" />
<Extension Name="ACODS" Type="Aspose.Cells.ReportingServices.ODSRenderer,Aspose.Cells.ReportingServices" />
<Extension Name="ACTXT" Type="Aspose.Cells.ReportingServices.TabDelimitedRenderer,Aspose.Cells.ReportingServices" />
- Concedere i permessi a Aspose.Cells for Reporting Services di eseguire:
- Open C:\Program Files\Microsoft Visual Studio
\Common7\IDE\PrivateAssemblies\RSPreviewPolicy.config (where is “8” for Visual Studio 2005 or “9.0” for Visual Studio 2008) and add the following as the last item in the second to outer element (which should be ):
- Open C:\Program Files\Microsoft Visual Studio
XML
<CodeGroup>
...
<CodeGroup>
...
<!--Start here.-->
<CodeGroup class="UnionCodeGroup" version="1" PermissionSetName="FullTrust" Name="Aspose.Cells_for_Reporting_Services" Description="This code group grants full trust to the Aspose.Cells for Reporting Services assembly.">
<IMembershipCondition class="StrongNameMembershipCondition" version="1" PublicKeyBlob="00240000048000009400000006020000002400005253413100040000010001002780c08eaa89aedfb00b1b96137cca3e15f32826e0e4fd1da3c98d1e3968a03a019aa7b7228b151f6e5dae4dcb00f98479770f507626b04e786e5e93ec3757c1cc4ed1ac4b72c7649c4438e9d3a5f44d8b7522043686a2e8c2a495e04b917e0505d3201015c828e3c15afc8a46ab78293574b9e0475df68627bbabc5b564addd" />
</CodeGroup>
<!--End here.-->
</CodeGroup>
</CodeGroup>
- Verificare che Aspose.Cells for Reporting Services sia stato installato con successo:
- Eseguire o riavviare Microsoft Visual Studio 2005 o 2008 Report Designer. Dovresti notare nuovi formati disponibili nell’elenco dei formati di esportazione.
Quando il componente è stato registrato, nuovi formati di esportazione appaiono in Report Designer