Skip to content

Commit 870b702

Browse files
Fea #79, 与YY-Thunks解耦,降低VC-LTL必要更新频率
1 parent 59b83f2 commit 870b702

File tree

3 files changed

+4
-10
lines changed

3 files changed

+4
-10
lines changed

Nuget/VC-LTL.nuspec

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,8 @@
2626
<dependencies>
2727
<group targetFramework="native">
2828
<dependency id="YY.NuGet.Import.Helper" version="1.0.1" />
29-
<dependency id="YY-Thunks" version="1.1.7"/>
3029
</group>
3130
<group targetFramework="net8.0-windows7.0">
32-
<dependency id="YY-Thunks" version="1.1.7"/>
3331
</group>
3432
</dependencies>
3533
</metadata>

Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ We will enter the theme, we have prepared a rich [VC-LTL Samples](https://github
122122
### 3.2. Using VC-LTL in Visual Studio .NET Native AOT Project
123123
1. `TargetFramework` property to add `Windows` system platform, e.g. `net8.0-windows` or `net9.0-windows`.
124124
2. Right-click on the project and select "Manage NuGet Packages". Search for `VC-LTL` and choose the version that suits you, and finally click Install.
125-
3. For XP support, please add project `WindowsSupportedOSPlatformVersion` = `5.1`, for example:
125+
3. For XP support, please install YY-Thunks and add project `WindowsSupportedOSPlatformVersion` = `5.1`, for example:
126126
```xml
127127
<Project Sdk="Microsoft.NET.Sdk">
128128
<PropertyGroup>

Readme.osc.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,9 @@ VC-LTL 5.0开始,ABI与微软原版`兼容`,您可以直接使用现有的
101101
### 3.1. Vistual Studio C++项目如何使用?
102102
1. 项目右键 “管理 NuGet 程序包”。NuGet搜索框中输入:`VC-LTL`,搜索后点击安装。
103103
2. C/C++ - 代码生成 -【运行库】调整为【多线程 (/MT)】
104-
- 如果需要支持XP,请项目右键 - 属性 - YY-Thunks - 最小兼容系统版本,设置为5.1.2600.0。
104+
- 如果需要支持XP,请安装YY-Thunks,然后再项目右键 - 属性 - YY-Thunks - 最小兼容系统版本,设置为5.1.2600.0。
105105
3. 重新编译代码
106106

107-
> 温馨提示:NuGet版VC-LTL会自动依赖YY-Thunks,您无需手动安装YY-Thunks。
108-
109107
![InstallByNuGet](https://raw.githubusercontent.com/wiki/Chuyu-Team/VC-LTL/zh-Hans/image/InstallByNuGet.png)
110108

111109
![ConfigurationProject](https://raw.githubusercontent.com/wiki/Chuyu-Team/VC-LTL/zh-Hans/image/ConfigurationProject.png)
@@ -115,7 +113,7 @@ VC-LTL 5.0开始,ABI与微软原版`兼容`,您可以直接使用现有的
115113
### 3.2. Vistual Studio .NET Native AOT项目如何使用?
116114
1.`TargetFramework`添加`Windows`系统平台,比如修改为`net8.0-windows`或者`net9.0-windows`
117115
2. 项目右键 `管理 NuGet 程序包`。NuGet搜索框中输入:`VC-LTL`,搜索后点击安装。
118-
3. 如果需要支持XP,请将项目属性`WindowsSupportedOSPlatformVersion`调整为`5.1`。大致如下:
116+
3. 如果需要支持XP,请安装YY-Thunks并将项目属性`WindowsSupportedOSPlatformVersion`调整为`5.1`。大致如下:
119117
```xml
120118
<Project Sdk="Microsoft.NET.Sdk">
121119
<PropertyGroup>
@@ -129,8 +127,6 @@ VC-LTL 5.0开始,ABI与微软原版`兼容`,您可以直接使用现有的
129127
```
130128
4. 重新编译代码
131129

132-
> 温馨提示:NuGet版VC-LTL会自动依赖YY-Thunks,您无需手动安装YY-Thunks。
133-
134130
![InstallByNuGet](https://raw.githubusercontent.com/wiki/Chuyu-Team/VC-LTL/zh-Hans/image/InstallByNuGet.png)
135131

136132
![AppBuildByVC-LTL](https://raw.githubusercontent.com/wiki/Chuyu-Team/VC-LTL/image/AppWithLTL.png)
@@ -176,7 +172,7 @@ VC-LTL 5.0开始,ABI与微软原版`兼容`,您可以直接使用现有的
176172
```
177173
3. 重新编译代码
178174

179-
> 温馨提示:NuGet版VC-LTL会自动依赖YY-Thunks,您无需手动安装YY-Thunks。
175+
> 温馨提示:如果需要支持早期系统,请额外安装YY-Thunks。
180176

181177
![AppBuildByVC-LTL](https://raw.githubusercontent.com/wiki/Chuyu-Team/VC-LTL/image/AppWithLTL.png)
182178

0 commit comments

Comments
 (0)