-
Notifications
You must be signed in to change notification settings - Fork 89
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
The term 'cl' is not recognized as the name of a cmdlet #24
Comments
@CJCombrink I think this is expected. The action simply finds and sets up the PATH for msbuild.exe and cl is not a part of that path. |
Thanks, I am assuming this is valid for .Net applications. Unfortunately cl is needed for C++ applications. |
@CJCombrink there have been some discussions of enabling something similar for VC tools -- this action uses vswhere.exe to find things, and you could use similar techniques to get to the VCtools paths where cl.exe would be. |
@timheuer Thanks, I used the information from this link: microsoft/terminal#3821 (comment) to achieve adding the tools to the path in my action script with good success: https://github.com/CJCombrink/SpellChecker-Plugin/blob/master/.github/workflows/build.yaml#L214 With this I can build my C++ application using msbuild from withing a powershell core console. |
I am trying to build my C++ application using GitHub actions and added a step to use this action as follow:
msbuild is working, but not cl:
My Step:
Output is:
Is this expected?
The text was updated successfully, but these errors were encountered: