Detours.Static 4.0.1.19060

Detours is a software package for monitoring and instrumenting API calls on Windows. Detours has been used by many ISVs and is also used by product teams at Microsoft. Detours is now available under a standard open source license (MIT). This simplifies licensing for programmers using Detours and allows the community to support Detours using open source tools and processes.

Detours is compatible with the Windows NT family of operating systems: Windows NT, Windows XP, Windows Server 2003, Windows 7, Windows 8, and Windows 10. It cannot be used by Window Store apps because Detours requires APIs not available to those applications. This repo contains the source code for version 4.0.1 of Detours.

For technical documentation on Detours, see the Detours Wiki. For directions on how to build and run samples, see the samples README.txt file.

Requires NuGet 2.5 or higher.

Install-Package Detours.Static -Version 4.0.1.19060
dotnet add package Detours.Static --version 4.0.1.19060
<PackageReference Include="Detours.Static" Version="4.0.1.19060" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Detours.Static --version 4.0.1.19060
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

此版本为 Detours的源代码包,因此无需担心使用者平台工具集,MD 还是MT。添加到项目后将自动编译,类似于 vcpkg,只是体验更好,能在项目本身编译时自动编译Detours,然后静态链接到当前项目中。

源代码利用 contentfiles 添加到工程,因此如果你只需要使用头文件,那么可以 <ExcludeAssets>contentfiles</ExcludeAssets>,来进引用头文件,而不发生编译Detours的行为,如下所示:

<PackageReference Include="Detours.Static">
    <Version>4.0.1.19060</Version>
    <ExcludeAssets>contentfiles</ExcludeAssets>
</PackageReference>

此版本为 Detours的源代码包,因此无需担心使用者平台工具集,MD 还是MT。添加到项目后将自动编译,类似于 vcpkg,只是体验更好,能在项目本身编译时自动编译Detours,然后静态链接到当前项目中。

源代码利用 contentfiles 添加到工程,因此如果你只需要使用头文件,那么可以 <ExcludeAssets>contentfiles</ExcludeAssets>,来进引用头文件,而不发生编译Detours的行为,如下所示:

<PackageReference Include="Detours.Static">
    <Version>4.0.1.19060</Version>
    <ExcludeAssets>contentfiles</ExcludeAssets>
</PackageReference>

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
4.0.1.19060 84 9/16/2020