Skip to content

Commit b396a32

Browse files
committed
Deps
1 parent 3ac9b45 commit b396a32

5 files changed

Lines changed: 18 additions & 23 deletions

File tree

ShadowPluginLoader.WinUI/ShadowPluginLoader.WinUI.csproj

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1414
<LangVersion>preview</LangVersion>
1515
<!-- Nuget -->
16-
<Version>3.1.2</Version>
16+
<Version>3.1.3</Version>
1717
<PackageId>ShadowPluginLoader.WinUI</PackageId>
1818
<Owner>kitUIN</Owner>
1919
<Authors>kitUIN</Authors>
@@ -43,7 +43,7 @@
4343
<PackageReference Include="ShadowPluginLoader.SourceGenerator" Version="3.0.7" />
4444
<PackageReference Include="ShadowObservableConfig.Yaml" Version="0.6.3" />
4545
<PackageReference Include="ShadowObservableConfig.Json" Version="0.6.3" />
46-
<PackageReference Include="ShadowPluginLoader.Tool" Version="3.1.1" />
46+
<PackageReference Include="ShadowPluginLoader.Tool" Version="3.1.3" />
4747
<PackageReference Include="NuGet.Versioning" Version="7.0.1" />
4848
<PackageReference Include="SharpCompress" Version="0.44.0" />
4949
</ItemGroup>
@@ -53,17 +53,4 @@
5353
<!-- <ItemGroup> -->
5454
<!-- <ProjectReference Include="..\ShadowPluginLoader.SourceGenerator\ShadowPluginLoader.SourceGenerator.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" /> -->
5555
<!-- </ItemGroup> -->
56-
<PropertyGroup>
57-
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
58-
<!-- 可选:自定义生成目录 -->
59-
<CompilerGeneratedFilesOutputPath>GeneratedFiles</CompilerGeneratedFilesOutputPath>
60-
</PropertyGroup>
61-
<ItemGroup>
62-
<!-- 添加了内存里面的文件,不应该添加磁盘的,否则添加两份 -->
63-
<Compile Remove="$(CompilerGeneratedFilesOutputPath)/**/*.cs" />
64-
</ItemGroup>
65-
<ItemGroup>
66-
<Folder Include="Config\" />
67-
<Folder Include="Installer\" />
68-
</ItemGroup>
6956
</Project>

docs/advance/toolconfig.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ The file example is as follows:
1515
<AutoPluginPackage>true</AutoPluginPackage>
1616
<!-- Auto Generate I18N -->
1717
<AutoGenerateI18N>true</AutoGenerateI18N>
18+
<!-- Debug SourceGenerator-->
19+
<DebugSourceGenerator>false</DebugSourceGenerator>
1820
</PropertyGroup>
1921
</Project>
2022
```
@@ -25,6 +27,7 @@ The file example is as follows:
2527
| `IsPlugin` | `bool` | Whether this project is a plugin project, see [IsPlugin](#IsPlugin) |
2628
| `AutoPluginPackage` | `bool` | Whether to automatically package as plugin (only effective when `IsPlugin` is `true`), see [Plugin Packaging](/plugin/pack) |
2729
| `AutoGenerateI18N` | `bool` | Whether to automatically generate I18N helper classes, see [I18N Internationalization](/advance/i18n) |
30+
| `DebugSourceGenerator` | `bool` | Applies only to the plugin project. Determines whether the source generator’s output files are visible (when enabled, they will be generated under `GeneratedFiles` |
2831

2932
::: warning Note
3033

@@ -46,4 +49,5 @@ If `true`:
4649

4750
If `true`:
4851
- Automatically generate `plugin.json` from `.csproj` file
52+
- Automatically copy `plugin.d.json` from the `PluginLoader project` to the `Plugin project` directory.
4953
- Allow using [plugin packaging](/plugin/pack) functionality

docs/init/metaplugin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The `ExportMeta` attribute indicates that this class is metadata that needs to b
2121

2222
Your metadata class **must** use `ExportMeta`.
2323

24-
It will automatically export as a `metadata definition file` for subsequent plugins to use.
24+
It will automatically export as a `metadata definition file (plugin.d.json)` for subsequent plugins to use.
2525

2626

2727
## Inheritance

docs/zh/advance/toolconfig.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,19 @@
1515
<AutoPluginPackage>true</AutoPluginPackage>
1616
<!-- Auto Generate I18N -->
1717
<AutoGenerateI18N>true</AutoGenerateI18N>
18+
<!-- Debug SourceGenerator-->
19+
<DebugSourceGenerator>false</DebugSourceGenerator>
1820
</PropertyGroup>
1921
</Project>
2022
```
2123

22-
| 名称 | 类型 | 说明 |
23-
| ------------- | :-----------: | ---- |
24-
| `IsPluginLoader` | `bool` | 该项目是否是插件加载器项目,详见[IsPluginLoader](#IsPluginLoader) |
25-
| `IsPlugin` | `bool` | 该项目是否是插件项目,详见[IsPlugin](#IsPlugin) |
26-
| `AutoPluginPackage` | `bool` | 是否自动打包为插件(仅在`IsPlugin``true`时有效),详见[插件打包](/zh/plugin/pack) |
27-
| `AutoGenerateI18N` | `bool` | 是否自动生成I18N帮助类,详见[I18N国际化](/zh/advance/i18n) |
24+
| 名称 | 类型 | 说明 |
25+
|-------------------------|:--------:|-----------------------------------------------------------|
26+
| `IsPluginLoader` | `bool` | 该项目是否是插件加载器项目,详见[IsPluginLoader](#IsPluginLoader) |
27+
| `IsPlugin` | `bool` | 该项目是否是插件项目,详见[IsPlugin](#IsPlugin) |
28+
| `AutoPluginPackage` | `bool` | 是否自动打包为插件(仅在`IsPlugin``true`时有效),详见[插件打包](/zh/plugin/pack) |
29+
| `AutoGenerateI18N` | `bool` | 是否自动生成I18N帮助类,详见[I18N国际化](/zh/advance/i18n) |
30+
| `DebugSourceGenerator` | `bool` | 只对插件项目有效,是否可见源生成器的输出文件(启用后将生成于`GeneratedFiles`) |
2831

2932
::: warning 注意
3033

@@ -46,6 +49,7 @@
4649

4750
如果为`true`:
4851
-`.csproj`文件中自动生成出`plugin.json`
52+
-`PluginLoader项目`中自动复制`plugin.d.json``Plugin项目`目录
4953
- 允许使用[插件打包](/zh/plugin/pack)功能
5054

5155

docs/zh/init/metaplugin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public record ExampleMetaData : AbstractPluginMetaData
2121

2222
你的元数据类**必须**使用`ExportMeta`
2323

24-
会自动导出为`元数据定义文件`给后续的插件使用
24+
会自动导出为`元数据定义文件(plugin.d.json)`给后续的插件使用
2525

2626

2727
## 继承

0 commit comments

Comments
 (0)