[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CodeQL Autobuild for Csharp Failing #1559

Open
ford-from-the-future opened this issue Mar 3, 2023 · 1 comment
Open

CodeQL Autobuild for Csharp Failing #1559

ford-from-the-future opened this issue Mar 3, 2023 · 1 comment

Comments

@ford-from-the-future
Copy link

I have added the C# lang to the lang matrix to test it on a c# file for my pipeline but I get this error when I run it;

Failure invoking /opt/hostedtoolcache/CodeQL/2.12.2-20230207/x64/codeql/csharp/tools/autobuild.sh with arguments .

Is there a solution to this or will I need to write my own build steps?

@hmakholm
Copy link
Contributor
hmakholm commented Mar 3, 2023

This is hard to say without knowing which build system your source code is written for.

There ought to be at least some output from the autobuilder appearing before the log line you quote, which will tell you something about how it failed.

(If you have just a single .cs file without surrounding infrastructure to define a project for MSBuild, autobuilding cannot be expected to work, and you'll have to write your own build steps).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants