I created a default .Net Core 1.0.1 Class library and changed buildOptions in project.json to include debugType: "Full". I used the integrated VS 2015 Fortify Scan using 16.11 and I get the errors below. How should I scan dotnet core to avoid this problem?
Project 'src\providesFileInPackage\providesFileInPackage.xproj' is not configured to output full debug information. SCA Analysis requires full debug symbols. Would you like to ignore project and continue? (Project Properties -> Build -> "Advanced" button -> Debug Info -> "Full" OR Project Properties -> Compile -> Advanced Options -> Debug Info -> "Full" for VB)
My project json looks like
{
"version": "1.0.0-*",
"dependencies": {
"NETStandard.Library": "1.6.0"
},
"frameworks": {
"netstandard1.6": {
"imports": "dnxcore50"
}
},
"buildOptions": {
"define": [ "DEBUG" ],
"debugType": "full"
}
}
I had the same problem. It's blaming the
xproj
file and notproject.json
so I tried to addinside the
PropertyGroup
but to no avail.In the end I found a workaround by running Fortify from the command line:
My
MyApplicationSca.proj
looks like this:I am not investigating more than that right now but I hope this brings us a bit closer to the answer.