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:
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
| Release | Yes/No |
|---|---|
| 1.0 | ✅ |
Observed in RDBMS
| RDBMS | Yes/No |
|---|---|
| Oracle Server | ✅ |
| Microsoft SQL Server | ✅ |
| CSS3 | ✅ |
| CSS2 | ✅ |
Step by Step Scenario
- Package the source code
- 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
- Replace relative paths with absolute paths in the csproj file.
- If point 1 is not possible, then copy the file inside the project folder
- If the warnings are still coming, then contact CAST Technical Support. with the Relevant Input for reproduction of the issue
Notes/comments
Related Pages