codeql-action icon indicating copy to clipboard operation
codeql-action copied to clipboard

Auto build fail CSharp

Open december3th opened this issue 2 years ago • 2 comments

Error: Could not auto-detect a suitable build method Error: We were unable to automatically build your code. Please replace the call to the autobuild action with your custom build steps. Failure invoking /opt/hostedtoolcache/CodeQL/2.13.0-20230414/x64/codeql/csharp/tools/autobuild.sh with arguments .

### Tasks
- [ ] https://github.com/december3th/csharp_codeql/actions/runs/4923942652/jobs/8796373624?pr=1

december3th avatar May 09 '23 08:05 december3th

I am new codeql , https://github.com/december3th/csharp_codeql/actions/runs/4923942652/jobs/8796373624?pr=1, pls help me

december3th avatar May 09 '23 08:05 december3th

It looks like the build steps for your project do not fall into our definition of something that codeql can guess how to do.

You should comment out the autobuild step and replace it with a step to build all of your code.

This page describes the steps that the autobuilder takes to guess how to build your project. If your project doesn't conform to these steps then autobuilding will fail.

Just below that are some instructions on how to add your own build steps.

Hope this helps.

aeisenberg avatar May 09 '23 14:05 aeisenberg