Skip to content

Instantly share code, notes, and snippets.

@jaycdave88
Last active November 4, 2020 20:19
Show Gist options
  • Save jaycdave88/d4c3b0f431f84e1e790f9fdc5f6a7260 to your computer and use it in GitHub Desktop.
Save jaycdave88/d4c3b0f431f84e1e790f9fdc5f6a7260 to your computer and use it in GitHub Desktop.
Run Windows Desktop application script
rem Set environment variables
SET CORECLR_ENABLE_PROFILING=1
SET CORECLR_PROFILER={846F5F1C-F9AE-4B07-969E-05C26BC060D8}
SET CORECLR_PROFILER_PATH=%PROGRAMFILES%\Datadog\.NET Tracer\Datadog.Trace.ClrProfiler.Native.dll
SET DD_INTEGRATIONS=%PROGRAMFILES%\Datadog\.NET Tracer\integrations.json
SET DD_DOTNET_TRACER_HOME=%PROGRAMFILES%\Datadog\.NET Tracer
rem Start application
dotnet.exe example.dll
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment