Created by Salim Frontin on Feb 11, 2022
When this warning occurs at the beginning of a DotNet analysis, none of the files of the project are analyzed and the analyzer directly proceeds to the saving step, as shown in the below analysis log file.
Analysis log file
2018-08-01 16:22:22.688052 Warning MODULMSG ; Job execution No 'web.config' found in T:\Deploy\APP_NEW\Sources_Package\APP_V1503_CAST_DOT_NET\APP\APP\Tests\Wrapper.Test. The folder isn't a website, and won't be analyzed.
2018-08-01 16:22:22.688052 Warning MODULMSG ; Job execution No 'web.config' found in T:\Deploy\APP_NEW\Sources_Package\APP_V1503_CAST_DOT_NET\APP\Wrapper. The folder isn't a website, and won't be analyzed.
2018-08-01 16:22:22.745666 MODULMSG ; Job execution Comparing objects on server . . .
2018-08-01 16:22:23.765132 MODULMSG ; Job execution Comparison completed.
2018-08-01 16:22:23.765132 MODULMSG ; Job execution Merging objects on server . . .
2018-08-01 16:22:24.499460 MODULMSG ; Job execution Merge completed.
2018-08-01 16:22:24.719172 Information MODULMSG ; Job execution New Job status
2018-08-01 16:22:24.721125 Information MODULMSG ; Job execution Execution date=2018/08/01 15:22
2018-08-01 16:22:24.726008 Information MODULMSG ; Job execution Execution duration=0 days, 00 hours, 00 mins, 06 secs
2018-08-01 16:22:24.727961 Information MODULMSG ; Job execution Execution result=success
2018-08-01 16:22:24.727961 Information MODULMSG ; Job execution Analysis completed
2018-08-01 16:22:24.892013 Information MODULMSG ; Job execution 0 fatal error(s); 0 error(s); 27 warning(s); 3274 information message(s).
|
Although the message is just a warning, it has a strong impact since no objects of the project are analyzed.
Release | Yes/No |
---|
1.0 | |
- Run analysis for a DotNet application
- Open analysis log file and see the warning
Perform the below actions
- Check if the folder is a web site or not. If it contains a (*.csproj) or a (*.vbproj) file, then it is NOT a web site. In case of doubt, ask the development team.
- If the project is not a web site, then the warning occurs because the corresponding analysis unit is wrongly configured as "Microsoft Visual Studio C#/VB.NET Web Sites" in Cast-MS. Change the analysis unit type into "Microsoft Visual Studio C# project"
- If the project is a web site, then the warning occurs because the analyzer cannot find the required web.config file inside the folder. Check with development team if source files are not missing.
- Relaunch analysis.
- If the above steps do not solve your issue contact CAST Technical Support. with the Relevant Input for reproduction of the issue