CMS Snapshot Analysis - Run Analyzer - Warnings - DOTNet with extension - DotNet Analyzer - Csharp - File XXXXcsproj is missing

Problem Description

Relative paths (......) in CSPROJ files are not being resolved correctly.

The csproj files have something like this:

Properties\SharedAssemblyInfo.cs Properties\VersionInfo.cs

Which generates the following warnings in the analysis log:

File ’e:\cast-ms\deploy\application blocks\application blocks source code\ab.cvcsc.ab.xmlvisualizer_Solutions\SharedAssemblyInfo.cs’ referenced in project ’e:\cast-ms\deploy\application blocks\application blocks source code\ab\acvcsc.ab.xmlvisualizer\acvcsc.applicationblocks.xmlvisualizer.csproj’ is missing.

File ’e:\cast-ms\deploy\application blocks\application blocks source code\ab.cvcsc.ab.xmlvisualizer_Solutions\VersionInfo.cs’ referenced in project ’e:\cast-ms\deploy\application blocks\application blocks source code\ab\acvcsc.ab.xmlvisualizer\acvcsc.applicationblocks.xmlvisualizer.csproj’ is missing.

Observed in CAST Extension Version

ReleaseYes/No
1.0

Observed in RDBMS

RDBMSYes/No
Oracle Server
Microsoft SQL Server
CSS3
CSS2

Step by Step Scenario

  1. Package the source code
  2. Run the analysis

Impact on Analysis Results and Dashboard

Impact on the analysis would be the object belonging to the other csproj file which is missing would not be resolved and hence you will get missing objects and missing links issue

Action Plan

  1. Replace relative paths with absolute paths in the csproj file.
  2. If point 1 is not possible, then copy the file inside the project folder
  3. If the warnings are still coming, then contact CAST Technical Support. with the Relevant Input for reproduction of the issue

Notes/comments

Related Pages