mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-11 03:47:21 +00:00
Refused JSON contracts built by reflection and checked all of them in the trimmed build (#1152)
This commit is contained in:
1 parent
f864359290
commit
0b42c0288e
23 files changed
+535
-99
No files matched your search
@@ -21,6 +21,16 @@
|
||||
|
||||
<Import Project="..\Trimming.props" />
|
||||
|
||||
<!--
|
||||
AI Studio reaches nearly all of its code from its start, and with it the assemblies it depends on. This
|
||||
program starts nowhere near that, so the trimmer would remove, e.g., the Blazor server and SQLite, and the
|
||||
types of the app which use them could not even be loaded, let alone their options be read. Rooting the
|
||||
app keeps what the app itself keeps, while code of .NET which only reflection reaches is still removed.
|
||||
-->
|
||||
<ItemGroup>
|
||||
<TrimmerRootAssembly Include="mindworkAIStudio" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\MindWork AI Studio\MindWork AI Studio.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
Reference in new issue
Block a user