Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release Nuget版本使用全程序优化-使用链接时间代码生成 #3

Closed
PaienNate opened this issue Feb 26, 2025 · 1 comment · Fixed by #4
Closed

Release Nuget版本使用全程序优化-使用链接时间代码生成 #3

PaienNate opened this issue Feb 26, 2025 · 1 comment · Fixed by #4
Assignees
Labels
bug Something isn't working

Comments

@PaienNate
Copy link

如题,这似乎要求了SDK版本必须是当时的最新版本,使用时会提示:

Image

即使用该库时,必须使用最新SDK?

@RatinCN RatinCN self-assigned this Feb 26, 2025
@RatinCN RatinCN linked a pull request Feb 27, 2025 that will close this issue
RatinCN added a commit that referenced this issue Feb 27, 2025
LTCG prevents static libraries from being linked across MSVC versions, so turn off it for the expected compatibility.

Fixes #3 .
@RatinCN
Copy link
Member

RatinCN commented Feb 27, 2025

感谢您 @PaienNate 指出这个不符合预期的情况。预期是如README所言,仅编译只考虑最新工具集与SDK兼容,而制品集成则考虑向下兼容,故LTCG确实不应开启。

已在PR #4 中关闭LTCG并合入主线,同时为此发布了修复版本v1.1.2-beta,同步NuGet包:KNSoft.SlimDetours v1.1.2-beta

如仍遇到问题,欢迎继续反馈。

@RatinCN RatinCN added the bug Something isn't working label Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants