Trying to run Calculate Code Metrics on a GH Component project in Visual Studio 2015, but VS can’t find the expected .dll among the compiled files. This problem seems to stem from a GH project producing a .gha-extension instead of a .dll. (see error message below)
Perhaps this could be solved by using a double extension like “Component .gha.dll” ?
Anyway, I’ve tried to find a place where to configure VS what file extension to expect but I couldn’t find any. Anyone else knowing how to handle this?
Error message by VS when running “
Analyse|Calculate Code Metrics|For Solution” :
Message: No code metrics are available for this project because because the target file ‘…\VS\RILGH_Utils\RILGH_Utils\bin\x64\Debug\RILGH_Utils.dll’ is missing. Please rebuild the project and calculate code metrics again.
Edit: OK, it just struck my mind that I could temporarily rename the .gha file into a .dll instead, and only then run the analyze commands. I just tried it and it seems to work.