This document details how to download and install the .NET agent. Before installing the agent, review the agent requirements below.
The NerdVision .NET agent requires:
- .NET Core 3.0+
- .NET Framework 4.6.1+
The recommended way to install this agent is to use the nuget package manager.
dotnet add package NerdVision
<PackageReference Include="NerdVision" Version="VERSION" />
Once the agent has been installed, we need to be called to activate the agent. This call should be as early in the application as possible.
NETAgent.NerdVision.Start("YOUR API KEY")
We also require that the following settings have been configured in the project settings:
- Optimize code - should be disabled
- Debugging information - should be set to 'Portable'