Documentation
Documentation
Everything you need to get up and running with Rencore and to govern Microsoft 365, the Power Platform, and AI across your organization.
Getting started
Introduction
The developers and architects at Rencore have been creating applications on the SharePoint platform as project managers, architects, or developers for many years.
Quick Start
The SharePoint Customization Analysis Framework (SPCAF) is the "de facto" tool to verify the quality, compliance & governance of customization's being deployed to your SharePoint on-premises and cloud environments. Catch errors in your SharePoint customization's throughout…
Getting help
Our support team is dedicated to our customers and will endeavor to help you with the use of our products and aim to make your experience with our powerful tools a pleasant one.
Understanding Analysis Results
After running the Rencore Code (SPCAF) analysis you will have the following Reports break down the results accordingly. This article will briefly explain what each of the results represents:
Rencore Online Assessments System Requirements
- Modern browsers, (i.e. latest versions of Firefox, Chrome etc).
Guides
Client Application
Install spcaf
Note: Before the installation, please make sure to close all running instances of Visual Studio. The setup cannot proceed if Visual Studio is running. Also, make sure that your system meets the system requirements.
Install your License Key
To use SPCAF you will need to install an SPCAF license key, such as a trial key or a purchased license key. This key is a cryptic text that is usually delivered via email.
Activate your License Key
To use SPCAF features completely you will need to activate an SPCAF license key, such as a trial key or a purchased license key. The following sections describe the different ways to activate this license key on your computer so that it can be found by the SPCAF tools.
Analyze with the SPCAF Client
SPCAF comes with a client application that can be used to run an analysis of WSP files or apps. The client application is an alternative to analysis in Visual Studio e.g. if the source code of the project is not available or if the user is not familiar with Visual Studio.
Export my Results to PDF or DOCx
So you have analyzed your project but now you need to distribute the results to people who do not have access to SPCAF, as such you will need to create a PDF or DOCX report which you will need to do when setting up the analysis.
Customize Report Templates for PDF and DOCx
Besides HTML format, SPCAF can also create reports in the formats PDF and DOCX as a result of an analysis. Sometimes it is required that the layout of these reports meet the corporate design. To achieve this the report template for PDF and DOCX reports can be customized…
Compare Analysed Results for a Project
So you have analyzed your project(s) multiple times and want to compare the history of the results of each scan to see any the changes to the project over the versions analyzed. Rather than taking the details out of each result and compiling this yourself there is a feature…
Sign in to SPCAF with your Subscription Plan
Sign in to SPCAF with your Subscription Plan
Integration
Run SPCAF via PowerShell
To Run SPCAF in PowerShell either edit and use the supplied example script or create your own to suit your needs.
Run SPCAF from Command Line
Note: The use of SPCAF from command line requires a Build License.
how to run spcaf in a yaml build
SharePoint code analysis can also be executed through a YAML build. In order to run SPCAF, you must first upload it to your build environment. First, you will need to download SPCAF from our downloads page.
Azure DevOps/ VSTS/TFS
Run Spcaf In Azure Devops
Note: This functionality is only available in SPCAF Build License.
2013 teambuild
Note: This functionality is only available in SPCAF Build License.
vsts teambuild
Note: This functionality is only available in SPCAF Build License.
how to upload build in tfs2017 update 1
In order to upload your build in TFS2017, you must use the TFX command line. This article will explain what is required in order to do this.
SPDocKIt
How To Install Spcaf In SPDocKit
This functionality is meant for use with SharePoint Framework projects.
How to Apply and Activate SPCAF License in SPDocKit
This functionality is meant for use with SharePoint Framework projects.
How To Run SPCAF in SPDocKit
This functionality is meant for use with SharePoint Framework projects and is only available with a SPCAF Build licenses
Sonarqube
spcaf results severity mappings in sonarqube
Note: Please note that Rencore will no longer provide updates for SPCAF integration into SonarQube. SPCAF version 7.6.0.0. is the last plugin available, support will continue as we continue to support SPCAF version 7.6.0.0.
Install spcaf sonarqube integration
Note: Please note that Rencore will no longer provide updates for SPCAF integration into SonarQube. SPCAF version 7.6.0.0. is the last plugin available, support will continue as we continue to support SPCAF version 7.6.0.0.
sonarqube rencore aspx plugin
Note: Please note that Rencore will no longer provide updates for SPCAF integration into SonarQube. SPCAF version 7.6.0.0. is the last plugin available, support will continue as we continue to support SPCAF version 7.6.0.0.
how to upgrade by installing fresh copy of sq plugin
Note: Please note that Rencore will no longer provide updates for SPCAF integration into SonarQube. SPCAF version 7.6.0.0. is the last plugin available, support will continue as we continue to support SPCAF version 7.6.0.0.
sonarqube rencore javascript plugin
Note: Please note that Rencore will no longer provide updates for SPCAF integration into SonarQube. SPCAF version 7.6.0.0. is the last plugin available, support will continue as we continue to support SPCAF version 7.6.0.0.
sonarqube rencore powershell plugin
Note: Please note that Rencore will no longer provide updates for SPCAF integration into SonarQube. SPCAF version 7.6.0.0. is the last plugin available, support will continue as we continue to support SPCAF version 7.6.0.0.
sonarqube rencore xml plugin
Note: Please note that Rencore will no longer provide updates for SPCAF integration into SonarQube. SPCAF version 7.6.0.0. is the last plugin available, support will continue as we continue to support SPCAF version 7.6.0.0.
sonarqube rencore css plugin
Note: Please note that Rencore will no longer provide updates for SPCAF integration into SonarQube. SPCAF version 7.6.0.0. is the last plugin available, support will continue as we continue to support SPCAF version 7.6.0.0.
how to setup sq plugin if conflicting with a plugin
Note: Please note that Rencore will no longer provide updates for SPCAF integration into SonarQube. SPCAF version 7.6.0.0. is the last plugin available, support will continue as we continue to support SPCAF version 7.6.0.0.
Bamboo
how to run spcaf in bamboo build portal
This functionality is only available in SPCAF Build.
DocAve
How to Activate SPCAF in DocAve
Note: This functionality is only available with an SPCAF Farm build license.
how to run spcaf in docave
This functionality is only available with a SPCAF Build licenses.
Gulp
How to Add SPCAF Analysis from Gulp and Visual Studio Code
Note: This functionality is meant for use with SharePoint Framework projects.
how to run spcaf from gulp
This functionality is meant for use with SharePoint Framework projects.
Visual Studio
How to Run SPCAF from Visual Studio Code
Running SPCAF analysis of your SharePoint Framework project from Visual Studio Code allows you to stay productive and easily check if there are any issues in your project. If any issues are found you can quickly fix them without leaving Visual Studio Code.
How to Run SPCAF in Visual Studio
By default, SPCAF installs a Visual Studio add-in available for Visual Studio 2010 to 2015. This add-in adds a menu entry to the tools menu and to the context menu of Solution and Project. From this menu, you can start the SharePoint code analysis.
how to install spcaf in visual studio 2017
SPCAF does not automatically install a Visual Studio add-in to Visual Studio 2017 as it does for previous versions. You will need to manually install the SPCAF extension by using the .vsix available from our downloads on our website.
Jenkins
how to run spcaf in jenkins build portal
This functionality is only available in SPCAF Build.
how to run spcaf in team city
This functionality is only available in SPCAF Quality Gate.
how to get a detailed analysis log file in spcaf quality gate
To get a log file with more information about the analysis process, you have to set the parameter "LogFile" of the TFS build activity.
how to run spcaf with msbuild
MSBuild integration in a TeamBuild (e.g. on Team Foundation Server) is only available in SPCAF Build. The client licenses can use MSBuild or the local build in Visual Studio.
Rulesets
Create a Custom Ruleset
SPCAF by default comes with 7 standard rulesets that cover the general requirements needed to scan the majority of files. However, we do recommend that you create your own custom ruleset to be used for analyzing your specific project. This means you can ignore specific…
Export Rulesets to PDF or DOCx
SPCAF allows the configuration of the analysis process with ruleset files (see section "Rulesets" in this documentation).
Exclude Files from the Analysis
In some cases, it is necessary to exclude files from the analysis, e.g. to avoid analysis of 3rd party assemblies or jquery files. This can be achieved by using SPCAF rulesets.
Suppress Violations in Rule Reports
Sometimes the analysis reports potential issues that should not appear in the reports.
Select a Specific Ruleset for Analysis
SPCAF comes with 6 pre-configured rulesets that you can use to analyze your project. These rulesets are "All Analyzers", "Minimum Settings", "Minimum Recommended Settings", "Extended Recommended Settings (default)", "SharePoint Framework - All Rules", and "Angular…
how to configure fxcop in spcaf ruleset
FxCop is one of the 3rd party analyzer s that can be integrated with SPCAF via rule. The rule will be executed only if the tool FxCop is installed locally. If the tool is not be found the rule will throw an exception.
how to configure catnet in spcaf ruleset
CAT.NET is one of the 3rd Party analyzers that can be integrated in SPCAF via a rule. The rule will be executed only if the tool CATNET is installed locally. If the tool is not found the rule will throw an exception.
Update SPCAF
SPCAF is periodically updated with new features, new rules, improvements to rules and of course bug fixes. As such it is recommended to always have the latest version of SPCAF for your analysis (license permitting).
How to Transfer SPCAF License
From time to time it may be necessary for you to transfer a valid license from one machine to a new machine. In these circumstances you will need to contact support and instruct them of your intention then you will need to do the following:
Troubleshooting
Provide Support My Logs and License
Provide Support My Logs and License
Why is there no Challenge Code?
If you have installed Rencore Code (SPCAF) on a Windows VM and the Challenge code is missing when attempting to activate the license, as shown below:
Why are Reports Still Showing Free Header after Activation
If you have recently purchased a license for SPCAF or recently activated your license and are still getting the "Free Header" (see below) when viewing a report. There are a couple of things to check:
Why are my Tooltips not Displaying Properly?
SPCAF uses settings within Windows you can change where menus appear on the screen by indicating which hand you write with. This, unfortunately, causes the issue in SPCAF to now display the tooltips correctly.
Why Do I Get More Errors in Gulp without a Valid SPCAF License?
Although it is possible to utilize SPCAF in gulp without a valid license, you will find that you will get more errors, compared to running SPCAF with a license.
Identify Where SPCAF Files are Located with 3rd Party Software
Identify where spcaf files are located with 3rd party software
Why is the SPCAF Context Menu Disabled?
If the SPCAF context menu appears disabled in Visual Studio, then you might either have no SharePoint project selected or you are experiencing a historic bug, which caused the context menu to appear disabled when a solution has unloaded projects.
SPCOP.exe Oops Something Quite Went Not the Way We Expected
spcop.exe oops something quite went not the way we expected
Could Not Load File or Assembly System.xxx Version2.0.5.0
Message: Failed to load settings file 'C:\Program Files x86)\SPCAF\RuleSets\RS10ExtendedRecommendedRules.sp...
Why Does SPDisposechecker Not Show Any Violations For Sharepoint 2013 Projects?
why does spdisposechecker not show any violations for sharepoint 2013 projects
Why Does The Spcaf Report Show Exceptions For Fxcop Fxcop Metrics Cat.Net Or Spdisposecheck
The 3rd-Party analysis tools FXCop, FXCop Metrics, Cat.Net, and SPDisposeCheck have not been installed automatically with SPCAF, as redistribution of them is prohibited by their respective owners.
Why Does SPCAF Need Re Activating?
If SPCAF is on a machine that has full access, when logging into SPCAF it will periodically communicate with our activation servers to confirm there are no updates on the current license being used. This should rarely ever cause a problem unless there is a major hardware…
Why Are SPDisposecheck, CAT. Net, Or FXCop Not Recognized?
There are several reasons why SPDisposeCheck, CAT.NET, or FXCop are not recognized by SPCAF. Below are the main causes, ways of checking if it is the cause, and of course how to rectify:
Troubleshooting SonarQube Plugin
Note: Please note that Rencore will no longer provide updates for SPCAF integration into SonarQube. SPCAF version 7.6.0.0. is the last plugin available, support will continue as we continue to support SPCAF version 7.6.0.0.
Why Am I Seeing an SPCAF Error After Analysis?
SPCAF has various points in the analysis: 0-84% analyzing the solution, 85-94% creating Reports, and +95% tidying up temp files and displaying the reports. Under certain conditions, the tool runs into an error after the analysis is complete, as shown below:
SPCAF Installation Failed Because the Certificate Has Expired
If your system prevents you from installing SPCAF due to an expired certificate.