New to MSBuild and CodeQL for my C++ Project. (build tools v143 cannot be found) #7162
Unanswered
turbosmurfen
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Hi I don't think this is a CodeQL issue, but rather an issue with building your code using GH actions. Have you tried adding a simple workflow for just building your code? From the error message it appears that passing in |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm new to CodeQL and MSBuild. I copied the code below for codeql-analysis. And now it won't run.
Somehow I get this error every time CodeQL runs:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(439,5): error MSB8020: The build tools for v143 (Platform Toolset = 'v143') cannot be found. To build using the v143 build tools, please install v143 build tools. Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution". [D:\a\spoton\spoton\spoton\spoton.vcxproj] 2>Done Building Project "D:\a\spoton\spoton\spoton\spoton.vcxproj" (default targets) -- FAILED. 1>Done Building Project "D:\a\spoton\spoton\spoton.sln" (default targets) -- FAILED.
And here is the file I use. If someone can tell me what to change: https://github.com/turbosmurfen/spoton/blob/main/.github/workflows/codeql-analysis.yml
Would be really happy if someone could help me with this.
Beta Was this translation helpful? Give feedback.
All reactions