Skip to content

Commit 67eb973

Browse files
authored
onboarding: dotnet list package (#11495)
1 parent d19473c commit 67eb973

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/platforms/dotnet/index.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,17 @@ Install the **NuGet** package to add the Sentry dependency:
5353
</Note>
5454

5555
```shell {tabTitle:.NET Core CLI}
56+
dotnet add package Sentry -v {{@inject packages.version('sentry.dotnet') }}
5657
dotnet add package Sentry.Profiling -v {{@inject packages.version('sentry.dotnet.profiling') }}
5758
```
5859

5960
```powershell {tabTitle:Package Manager}
61+
Install-Package Sentry -Version {{@inject packages.version('sentry.dotnet') }}
6062
Install-Package Sentry.Profiling -Version {{@inject packages.version('sentry.dotnet.profiling') }}
6163
```
6264

6365
```shell {tabTitle:Paket CLI}
66+
paket add Sentry --version {{@inject packages.version('sentry.dotnet') }}
6467
paket add Sentry.Profiling --version {{@inject packages.version('sentry.dotnet.profiling') }}
6568
```
6669
</OnboardingOption>
@@ -75,7 +78,6 @@ SentrySdk.Init(options =>
7578
{
7679
options.Dsn = "https://[email protected]/5428537";
7780
options.Debug = true;
78-
options.AutoSessionTracking = true;
7981
// A fixed sample rate of 1.0 - 100% of all transactions are getting sent
8082
options.TracesSampleRate = 1.0f;
8183
// A sample rate for profiling - this is relative to TracesSampleRate

0 commit comments

Comments
 (0)