Problem Description

While running .NET analysis you get the below type of warnings in your analysis log:

2019-04-09 16:18:57.327580�    Information�    MODULMSG ; Job execution�    S:\Sources\Test\CODE\Test\Client\Assesment\Wizard.Designer.vb(2500) : error BC30002: Type 'Infragistics.Win.UltraWinMaskedEdit.UltraMaskedEdit' is not defined

Observed in CAST Extension Version


Release

Yes/No

1.0(tick) 
Observed in RDBMS

RDBMS

Yes/No

Oracle Server (tick) 
Microsoft SQL Server (tick) 
CSS3 (tick) 
CSS2 (tick) 
Step by Step Scenario
  1. Package the source code
  2. Run the analysis
Action Plan

Perform the below actions

  1. Check in the analysis log to find out for which analysis unit the warnings are coming.

  2. Navigate to the source file and check the object which is mentioned as not defined in the analysis log if the corresponding resource (dll, source file) is available in the source code.If the resource is not available, you have to ask for the resource and repackage (after you reject the delivery) the source code or manual remediation so that the resource is available for the analyzer to resolve the objects. If the resource is available and if you are still getting warning go to next step.
  3. Navigate to the source code and open the project file (.csproj or .vbproj) of the analysis unit and see what all projects are dependent on this analysis unit. There would be two types of dependencies.

    • Assembly reference

    • Project reference :
  4. Check in CAST-MS if the proper dependency is set for the project, if not we have to manually create the required dependencies.


  5. If the warnings are still coming even after the creation of the dependency along with the presence of the required source code, check if you have set any annotation in the analysis unit. If yes remove the annotation so that the analysis units should be in one execution unit.
  6. If the warnings are still there then contact CAST Technical Support. with the Relevant Input for reproduction of the issue
Notes/comments


Related Pages