2 comments

I was able to get to the following in vscode without much success...

maybe that can help out to give me some direction using rider...

launch.json

{

"version": "0.2.0",

"configurations": [




{

"name": "System.Net.Http.Funcional.Tests",

"type": "coreclr",

"request": "launch",

"program": "${workspaceFolder}/artifacts/bin/testhost/net7.0-Linux-Release-x64/dotnet",

"args": [ "exec", "--runtimeconfig", "System.Net.Http.Functional.Tests.runtimeconfig.json", "xunit.console.dll", "System.Net.Http.Functional.Tests.dll", "-method", "System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_Asynchrony_Test.ExecutionContext_HttpConnectionLifetimeDoesntKeepContextAlive"],

"cwd": "${workspaceFolder}/artifacts/bin/System.Net.Http.Functional.Tests/Debug/net7.0-linux",

"console": "internalConsole",

"stopAtEntry": false

}

]

}
0

Hi Lomaisdoro

There is no manual on how to do this in Rider for now. However, here is a feature request: RIDER-75444. Once it will be implemented, you can easily use a custom runtime when running a .NET application. 

I hope this helps! 

0

Please sign in to leave a comment.