Skip to content
Andrej Čižmárik edited this page Jan 3, 2026 · 3 revisions

Welcome to the sharpdetect wiki!

Useful Environment Variables

  • PAL_OUTPUTDEBUGSTRING - optional debugging for certain profiler loading problems. Example:
Loading profiler failed during instantiation.  Profiler CLSID: '{b2c60596-b36d-460b-902a-3d91f5878529}'.  HRESULT: 0x8007007e.
  Process ID (decimal): 406.  Message ID: [0x2504].

Local .NET Tool Testing

# Place .nupkg into C:\LocalNuGet (it is not cached - can be replaced later)
dotnet tool install --global sharpdetect --add-source C:\LocalNuGet --prerelease
dotnet tool uninstall --global SharpDetect

Releasing

  1. Bump version in Directory.Build.props
  2. Run Release pipeline and test locally created artifacts
    • Ensure nupkg contains plugins a profilers directories
  3. Create tag on main branch with pattern v<major>.<minor>.<patch>, optionally with suffix -prerelease-xx
  4. Create release on GitHub and attach artifacts
  5. Publish nupkg to NuGet

Clone this wiki locally