Skip to content

Commit f43e046

Browse files
Ralph Waldenmaierphilasmar
authored andcommitted
Updating configuration notes for JetBrains Rider
1 parent a719055 commit f43e046

2 files changed

Lines changed: 23 additions & 2 deletions

File tree

Tools/LambdaTestTool/README.md

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,14 +204,35 @@ Remember when you update your version of the .NET Mock Lambda Test Tool to updat
204204
Follow the following steps to configure Rider
205205
* Select Run->Edit Configurations...
206206
* Push the `+` button to add a configuration and select `.NET Executable`
207-
* Set the `Exe path` field to the full path of `Amazon.Lambda.TestTool.BlazorTester.dll` as described above
208-
* Set the `Working directory` field to the .NET Core Lambda project root
207+
* Set the `Exe path` field to `dotnet`
208+
* Set the `Program Arguments` field to the full path of `Amazon.Lambda.TestTool.BlazorTester.dll` as described above
209+
* Set the `Working directory` field to the .NET Lambda project root
209210
* Push OK
210211

211212
After following these steps, any time you start the debugger in Rider, it will subsequently launch the .NET Mock Lambda Test Tool.
212213

213214
![Rider Run/Debug Configuration](./Resources/RiderSetup.png)
214215

216+
217+
You can also specify a launchSettings.json configuration such as the following to provide this information to Rider:
218+
219+
```
220+
{
221+
"$schema": "http://json.schemastore.org/launchsettings.json",
222+
"profiles": {
223+
"SimpleHttpApi": {
224+
"commandName": "Executable",
225+
"executablePath": "dotnet",
226+
"commandLineArgs": "/home/<USER>/.dotnet/tools/.store/amazon.lambda.testtool-8.0/<nuget-version>/amazon.lambda.testtool-8.0/<nuget-version>/tools/net8.0/any/Amazon.Lambda.TestTool.BlazorTester.dll",
227+
"workingDirectory": "$(ProjectDir)",
228+
"environmentVariables": {
229+
"ASPNETCORE_ENVIRONMENT": "Development"
230+
}
231+
}
232+
}
233+
}
234+
```
235+
215236
## Configure for Visual Studio for Mac
216237

217238
Before using Visual Studio for Mac you must follow the instructions above on installing the .NET Mock Lambda Test Tool.
43.9 KB
Loading

0 commit comments

Comments
 (0)