If you attempt to submit a code review and receive an error like this:
"No source code management system is detected"
This means that the wrong SCM type is selected within your IDE. To force the plug-in to re-detect your SCM, do the following:
Visual Studio:
- Right-click on your solution and select Klocwork Solution Properties.
- This opens the SCM Settings dialog. Under SCM Settings, select 'None' and click OK
- Right-click the solution, a project or the file(s) in the Project Explorer and select Create Code Review. This will force the plug-in to automatically re-detect your SCM and you should no longer see this error message.
Eclipse:
- Right-click on your project and select Properties > Klocwork Code Review
- Under SCM Settings, select 'None' and click OK
- Right-click your project and select Klocwork > Create Code Review. This will force the plug-in to automatically re-detect your SCM and you should no longer see this error message.