After
installation has completed successfully, you can now use this
installation as a development environment. After you develop your
solution, you can port it over to a production server for use.
Note
This book assumes the use of
Visual Studio 2010 as a development environment. If you use a different
development environment, adjust the steps accordingly.
Copying PPS DLLs from the GAC
All SDK scenarios in PPS 2010
begin by using several dynamic link libraries (DLLs). You can find these
DLLs in the Global Assembly Cache (GAC) after the Configuration Wizard
has completed. You need to copy the DLL files out of the GAC and into a
different file location before adding them to your Visual Studio
project. Unfortunately, these files are not located in a convenient
place, so getting them out of the GAC requires a little bit of work.
Copy the DLL files
manually one by one from the GAC by browsing to
%WinDir%\assembly\GAC_MSIL and opening each folder that contains the
assembly you want. Then copy the DLL files to an intermediate location
from which you can then add the necessary DLLs to your project as you
need them.
Alternatively, you
can run the following PowerShell command in the SharePoint 2010
Management Shell. This command can copy all PPS DLLs into a pre-created
directory at C:\PPSFiles. You can then pick and choose which assemblies
you need from the new folder location and add them to your project as
you need them.
get-childitem $env:WINDIR\assembly * -Recurse -Include *performancepoint*.dll |
copy -dest C:\ppsfiles
Table 1
is a list of assemblies used for SDK development scenarios. Some other
assemblies exist in the product, such as
Microsoft.PerformancePoint.Scorecards.WebServer.dll and
Microsoft.PerformancePoint.Scorecards.Upgrade.dll, but they handle
internal server workings and are not designed for development scenarios.
Table 1. Use of DLL from SDK Perspective
DLL Name | Use from SDK Perspective |
---|
Microsoft.PerformancePoint.Scorecards.Client.dll | Contains
classes for working with PPS objects found in the PPS Content List
type, reports, scorecards, filters, dashboards, and indicators |
Microsoft.PerformancePoint.Scorecards.Common.dll | Contains miscellaneous helper classes |
Microsoft.PerformancePoint.Scorecards.DataSourceProviders.Standard.dll | Contains classes for working with data sources |
Microsoft.PerformancePoint.ScorecardsScript.dll | Contains classes to help manage PPS Web Parts |
Microsoft.PerformancePoint.Scorecards.Server.dll | Contains classes for creating custom filters and reports |
Microsoft.PerformancePoint.Scorecards.ServerCommon.dll | Contains proxies to interact with the PPS service application |
Microsoft.PerformancePoint.Scorecards.ServerRendering.dll | Contains classes for rendering controls on a dashboard page |
Microsoft.PerformancePoint.Scorecards.Store.dll | Contains helper classes for working with repository items |
Microsoft.PerformancePoint.Scorecards.WebControls.dll | Contains classes for supporting connection interfaces and for rendering Web Parts |