.NET Analyzer - 1.4

Extension ID


What’s new?

Please see .NET Analyzer - 1.4 - Release Notes .


This extension provides support for analyzing applications built with .NET, .NET Standard and .NET Core technologies: objects and links between these objects are identified and Automated Function Point values are calculated. A set of .NET specific structural rules are also available with the extension.

Technology support

Please also see .NET - Technical notes and limitations for additional information.

Visual Studio / .NET Framework support

Visual Studio version .NET Framework version .NET Core / .NET .NET Standard C# version VB.NET version Supported



1.2 7.1 (tick)


2.0, 3.0

2.0 8.0 (tick)


2.0, 3.0, 3.5

3.0 9.0 (tick)


2.0, 3.0, 3.5, 4.0

4.0 10.0 (tick)
2012/2013 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2

5.0 12.0 (tick)
2015 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6

6.0 14.0 (tick)
2017 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2

1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1

1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 2.0, 2.1 7.2 15.5 (tick)
2019 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0 (from ≥1.4.6-funcrel, limited to C# 8.0), 6.0 (from ≥1.4.6-funcrel, limited to C# 8.0) 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 2.0, 2.1 8.0 / 9.0 (from ≥1.4.9-funcrel) 15.8 (tick)

The following are implicitly supported:

  • ASP.NET Core
  • iFrame
  • Interop
  • WinForms
  • WPF 
  • LINQ:
    • LINQ to Objects
    • LINQ to DataSets
    • LINQ to SQL
  • First level of support for Xamarin (links to Xamarin API objects will be resolved) for:
    • Android
    • iOS
    • TvOS
    • WatchOS
    • UWP

Function Point, Quality and Sizing support

This extension provides the following support:

  • Function Points (transactions): A green tick indicates that OMG Function Point counting and Transaction Risk Index are supported
  • Quality and Sizing: A green tick indicates that CAST can measure size and that a minimum set of Quality Rules exist
Function Points
Quality and Sizing
(tick) (tick)

CAST Core compatibility

Release Supported
≥ 8.3.x (tick)


Required third-party software on CAST Node

.NET Framework ≥ 4.7.2 must be installed on the CAST Node server in order for the analysis to function. A check will be done when the analysis starts and a message will produced if the minimum .NET Framework cannot be found.

Note that a .NET Framework is installed via the CAST Core installer, however this may not be the required version. Please check.

Location of the source code deployment folder

It is possible (and usually recommended) to configure the source code Deployment folder on a network share, however, in the case of .NET analyses, CAST recommends that the Deployment folder is located on the same server as the CAST Node. If the Deployment folder is located on a remote network file share, there is a risk that assemblies may not be loaded correctly during the analysis, causing external objects to not be saved.

Location of extensions folder on CAST Node

If you have altered the location where extensions are stored from %PROGRAMDATA%\CAST\CAST\Extensions to a network location remote to the CAST Node (for example changing the CAST_PLUGINS_ROOT_PATH in the CastGlobalSettings.ini file) then you will need to add the following lines to the .NET Framework machine.config file (located on CAST Node). This is to ensure that the .NET Analyzer DLLs located in the remote network folder can be successfully run from a network location. The analysis will fail without this configuration.

Replace the following tag:

<runtime />


    <loadFromRemoteSources enabled="true"/>

Dependent frameworks and third-party packages provided in the extension

Some dependent frameworks and third-party packages are provided in the extension itself. There is therefore no need to specifically package these items if your source code relies on them - note however, that the AIP COnsole will generate missing library/assembly alerts for these items - these alerts can safely be ignored.


  • .NET framework
  • .NET Core
  • .NET standard
  • Silverlight
  • Universal Windows Platform
  • Mono Android
  • Xamarin iOS
  • Xamarin TvOS
  • Xamarin WatchOS

Third-party packages

  • Microsoft.AspNetCore.All (ASP.NET)
  • Microsoft.AspNetCore.App (ASP.NET)
  • log4net
  • NHibernate
  • NPersistence
  • NLog
  • Newtonsoft.Json
  • Newtonsoft.Json.Bson
  • MySql.Data
  • Iesi.Collections
  • EntityFramework
  • Microsoft.Practices.EnterpriseLibrary.2008
  • elmah.corelibrary
  • System.Data.SqlClient
  • Serilog
  • Remotion.Linq
  • Xamarin.Android.Support.v7.AppCompat
  • Xamarin.Android.Support.v7.CardView
  • Xamarin.Android.Support.v7.MediaRouter
  • Xamarin.Android.Support.v4
  • Xamarin.Android.Support.Media.Compat
  • Xamarin.Android.Support.Fragment
  • Xamarin.Android.Support.Design
  • Xamarin.Android.Support.Core.Utils
  • Xamarin.Android.Support.Core.UI
  • Xamarin.Android.Support.Wear
  • Xamarin.Android.Wear
  • Xamarin.Forms

Dependencies with other extensions

Some CAST AIP extensions require the presence of other CAST AIP extensions in order to function correctly. The .NET Analyzer extension requires that the following other CAST AIP extensions are also installed:

Note that when using AIP Console to install the extension, any dependent extensions are automatically downloaded and installed for you. You do not need to do anything.

Download and installation instructions

For .NET applications, the extension will be automatically installed by CAST Console:

What analysis results can you expect?

What results can you expect?


Icon Name Parent







C# Source File Application, Directory

VB.NET Source File Application, Directory

ASA  / Asax Source File Application, Directory

ASP Source File Application, Directory

Aspx Source File Application, Directory

Ascx Source File Application, Directory

Asmx Source File Application, Directory

Configuration Source File Application, Directory

Data Set Source File Application, Directory

Htc / Htm / Html Source File

Application, Directory

Java Script Source File Application, Directory

Master Source File Application, Directory

Settings Source File Application, Directory

Skin Source File Application, Directory

Xaml Source File Application, Directory

Visual Basic Script File Application, Directory


Namespace, Interface, Class, Generic Class

Constant (field)

Class, Generic Class


Class, Generic Class


Class, Generic Class

Enumeration Item



Class, Generic Class

Event Add On


Event Remove On



Namespace, Interface, Class, Generic Class

Field (non constant)

Interface, Class, Generic Class



Class, Generic Class

Generic Class

Namespace, Interface, Class, Generic Class

Generic Method

Generic Class

Generic Property

Generic Class


Method, Generic Method

Indexer Getter

Interface, Class, Generic Class

Indexer Setter

Interface, Class, Generic Class


Interface, Class, Generic Class

Module (VB.NET only) -


Application, Namespace


Interface, Class, Generic Class


Interface, Class, Generic Class

Property Getter

Interface, Class, Generic Class

Property Setter

Interface, Class, Generic Class


Interface, Class, Generic Class, Method, Generic Method

Windows Forms Class

Windows Forms User Control


Structural rules

Release URL
1.4.18 (LTS) https://technologies.castsoftware.com/rules?sec=srs_dotnet&ref=||1.4.18
1.4.17 (LTS) https://technologies.castsoftware.com/rules?sec=srs_dotnet&ref=||1.4.17
1.4.16 (LTS) https://technologies.castsoftware.com/rules?sec=srs_dotnet&ref=||1.4.16
1.4.15 (LTS) https://technologies.castsoftware.com/rules?sec=srs_dotnet&ref=||1.4.15
1.4.14 (LTS) https://technologies.castsoftware.com/rules?sec=srs_dotnet&ref=||1.4.14
1.4.13 (LTS) https://technologies.castsoftware.com/rules?sec=srs_dotnet&ref=||1.4.13
1.4.12 (LTS) https://technologies.castsoftware.com/rules?sec=srs_dotnet&ref=||1.4.12
1.4.11-funcrel https://technologies.castsoftware.com/rules?sec=srs_dotnet&ref=||1.4.11-funcrel
1.4.10-funcrel https://technologies.castsoftware.com/rules?sec=srs_dotnet&ref=||1.4.10-funcrel
1.4.9-funcrel https://technologies.castsoftware.com/rules?sec=srs_dotnet&ref=||1.4.9-funcrel
1.4.8-funcrel https://technologies.castsoftware.com/rules?sec=srs_dotnet&ref=||1.4.8-funcrel
1.4.7-funcrel https://technologies.castsoftware.com/rules?sec=srs_dotnet&ref=||1.4.7-funcrel
1.4.6-funcrel https://technologies.castsoftware.com/rules?sec=srs_dotnet&ref=||1.4.6-funcrel
1.4.5-funcrel https://technologies.castsoftware.com/rules?sec=srs_dotnet&ref=||1.4.5-funcrel
1.4.4-funcrel https://technologies.castsoftware.com/rules?sec=srs_dotnet&ref=||1.4.4-funcrel
1.4.3-funcrel https://technologies.castsoftware.com/rules?sec=srs_dotnet&ref=||1.4.3-funcrel
1.4.2-funcrel https://technologies.castsoftware.com/rules?sec=srs_dotnet&ref=||1.4.2-funcrel
1.4.1-funcrel https://technologies.castsoftware.com/rules?sec=srs_dotnet&ref=||1.4.1-funcrel
1.4.0-funcrel https://technologies.castsoftware.com/rules?sec=srs_dotnet&ref=||1.4.0-funcrel
1.4.0-beta1 https://technologies.castsoftware.com/rules?sec=srs_dotnet&ref=||1.4.0-beta1
1.4.0-alpha5 https://technologies.castsoftware.com/rules?sec=srs_dotnet&ref=||1.4.0-alpha5
1.4.0-alpha4 https://technologies.castsoftware.com/rules?sec=srs_dotnet&ref=||1.4.0-alpha4
1.4.0-alpha3 https://technologies.castsoftware.com/rules?sec=srs_dotnet&ref=||1.4.0-alpha3
1.4.0-alpha2 https://technologies.castsoftware.com/rules?sec=srs_dotnet&ref=||1.4.0-alpha2
1.4.0-alpha1 https://technologies.castsoftware.com/rules?sec=srs_dotnet&ref=||1.4.0-alpha1

See also the following rules provided in the default CAST Assessment Model shipped with CAST Imaging Core:

Technology URL
C# https://technologies.castsoftware.com/rules?sec=t_138383&ref=||
VB.NET https://technologies.castsoftware.com/rules?sec=t_138635&ref=||
ASP.NET https://technologies.castsoftware.com/rules?sec=t_138636&ref=||

The following extensions also provide .NET specific rules: