You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.
The docs show how to use 35, 40, 45, but don't mention anything greater. I spent some time (hoping to get it right and create a PR), but haven't gotten it right yet.
I want to run in 4.7.2, how do I do it? I'll add it with a PR once I know.
From the current docs.
Both of these links should be updated. https://github.com/Microsoft/vstest-docs/blob/master/docs/configure.md
(has <TargetFrameworkVersion>.NET Framework, Version=v4.6</TargetFrameworkVersion> as an example, but in VS I get "
[11/15/2018 2:39:26 PM Error] Failed to configure settings for runsettings plugin 'VSTest Run Configuration' as it threw following exception:
'An error occurred while loading the settings. Error: Invalid settings 'RunConfiguration'. Invalid value '.NET Framework, Version=v4.6.2' specified for 'TargetFrameworkVersion'..'"
VS 2019 - How to run tests other then on .NETFramework,Version=v4.5???
Even Framework35 and Framework40 are ignored (no error) but anyway tests uses 4.5...
Get the same issue when trying to configure Test project using
Failed to configure settings for runsettings plugin 'VSTest Run Configuration' as it threw following exception:
'An error occurred while loading the settings. Error: Invalid setting 'RunConfiguration'. Invalid value '.NETFramework,Version=v4.5' specified for 'TargetFrameworkVersion'..'
Commenting out the line completely solved the issue for me. Looks like there is no need to specify the attribute <TargetFrameworkVersion></TargetFrameworkVersion> anymore. I'm using version 4.8 by the way.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The docs show how to use 35, 40, 45, but don't mention anything greater. I spent some time (hoping to get it right and create a PR), but haven't gotten it right yet.
I want to run in 4.7.2, how do I do it? I'll add it with a PR once I know.
From the current docs.
Both of these links should be updated.
https://github.com/Microsoft/vstest-docs/blob/master/docs/configure.md
(has
<TargetFrameworkVersion>.NET Framework, Version=v4.6</TargetFrameworkVersion>
as an example, but in VS I get "[11/15/2018 2:39:26 PM Error] Failed to configure settings for runsettings plugin 'VSTest Run Configuration' as it threw following exception:
'An error occurred while loading the settings. Error: Invalid settings 'RunConfiguration'. Invalid value '.NET Framework, Version=v4.6.2' specified for 'TargetFrameworkVersion'..'"
https://docs.microsoft.com/en-us/visualstudio/test/configure-unit-tests-by-using-a-dot-runsettings-file?view=vs-2017
https://github.com/MicrosoftDocs/visualstudio-docs/issues/1305 for .Net Core should also be clearly mentioned.
The text was updated successfully, but these errors were encountered: