-
Notifications
You must be signed in to change notification settings - Fork 585
-
Notifications
You must be signed in to change notification settings - Fork 585
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
[FAKE 5.7] DotNet.test new dotnet msbuild
step can't handle dotnet test
arguments
#2102
Comments
Thanks, yes for reporting. Please use
This is in order to check the msbuild version to detect if the version is good enough for the recently (5.7) added binary logger which in turn is used to improve build server integration and error/warning reports |
Description
DotNet.test
now invokes dotnet.exe twice, once asC:\Program Files\dotnet\dotnet.EXE "msbuild"
and once asC:\Program Files\dotnet\dotnet.EXE "test"
, but the two commands accept different possible sets of arguments.Repro steps
Script fragment
Expected behavior
Expect build output of the form
etc.
Actual behavior
The script first emits the
dotnet msbuild
command with arguments intended fordotnet test
, as well as its own/version /nologo
then proceeds as expected.
The guidance supplied in the warning message is not relevant to the actual issue; it also contains a typo ("pelase" rather than "please").
Known workarounds
None so far while passing the desired arguments to the
dotnet test
step.Still chasing through the code to try and determine why this extra step even happens for
dotnet test
but not for the extremely similardotnet publish
, and how thereby to switch it off entirely as unwanted.Related information
The text was updated successfully, but these errors were encountered: