Hello,
At the beginning of the article, you say: "Tests that target the .NET core framework can be executed by specifying the appropriate target framework value."
How do you specify the appropriate target framework value?
On which argument? With which value?
Are there other things to know when using vstest with .NET Core?
Thank you!
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@loicmorvan -- Loïc, thanks for your questions. You may find some answers here:
@PBoraMSFT -- Prachi, please look into this issue.
I have these exact same questions. Why was the only response to send people to two generic help sites? Can't you answer the questions here, then eventually put that information in this page? How do "specify the appropriate target framework value"? This should be a simple answer!
@PBoraMSFT -- Prachi, can you shed some light on this issue?
You can for example add
otherConsoleOptions: /Framework:.NETCoreApp,Version=v3.1
in the task to set command line options for VSTest.exe
This issue hasn't been updated in more than 180 days, so we've closed it. If you feel the issue is still relevant and needs fixed, please reopen it and we'll take another look. We appreciate your feedback and apologize for any inconvenience.
Most helpful comment
You can for example add
otherConsoleOptions: /Framework:.NETCoreApp,Version=v3.1
in the task to set command line options for VSTest.exe