Ship Assistent 0.13.1: compile 0.13.0 so the SwarmUI tab loads.
Add missing WebSocket/HttpClient usings, stop using static on Config/FilePath helpers, and copy Microsoft.Data.Sqlite next to the extension dll. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -6,4 +6,19 @@
|
||||
<PackageReference Include="Microsoft.Data.Sqlite" Version="8.0.11" />
|
||||
</ItemGroup>
|
||||
<Import Project="../../SwarmUI.extension.props" />
|
||||
<!-- Must come after the import: SwarmUI.extension.props disables it, but the Sqlite
|
||||
assemblies have to sit next to the extension dll for SwarmExtensionLoadContext
|
||||
to resolve them as private deps. -->
|
||||
<PropertyGroup>
|
||||
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
||||
</PropertyGroup>
|
||||
<!-- Everything else in the lock file is already loaded by the SwarmUI host. -->
|
||||
<Target Name="ShipOnlySqlitePrivateDeps" AfterTargets="ResolveReferences">
|
||||
<ItemGroup>
|
||||
<ReferenceCopyLocalPaths Remove="@(ReferenceCopyLocalPaths)"
|
||||
Condition="'%(ReferenceCopyLocalPaths.NuGetPackageId)' != 'Microsoft.Data.Sqlite'
|
||||
AND '%(ReferenceCopyLocalPaths.NuGetPackageId)' != 'Microsoft.Data.Sqlite.Core'
|
||||
AND !$([System.String]::Copy('%(ReferenceCopyLocalPaths.NuGetPackageId)').StartsWith('SQLitePCLRaw'))" />
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
</Project>
|
||||
|
||||
Reference in New Issue
Block a user