-
Notifications
You must be signed in to change notification settings - Fork 325
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
TLS broken : vstest.console.exe still use .NET 4.5 #3733
Comments
It seems that #3646 will fix this problem, |
I just closed this one this morning because it never got merged and we never had another report of a related issue. #2472 Now we have one again :D |
Still we will fix by moving to .net462 in next sprint. |
I was just coming back to suggest adding at least the correct AppContextSwitch |
Just wanted to jump into this thread to report that we are facing the same issue in our Azure DevOps build pipeline. Looking forward to the fix :) |
Fixed by #3646 |
Description
vstest.console project still target net4.5, beside the fact that it's not supported anymore since 2015.
It adds a problem: by default, .net apps build against .net version 4.5 do not use TLS 1.2, so if tests are using HTTP requests to call a server where only TLS 1.2+ is enabled (as per global recommendation) the test will fail.
My reproduction case happens when using Azure DevOps and using vstest task.
Steps to reproduce
Expected behavior
The request should succeed using the most recent TLS protocol available
Actual behavior
The request fail.
Suggestion
You should at least update vstest.console.exe to 4.7.1+
The text was updated successfully, but these errors were encountered: