Skip to content

Commit 03c1bdd

Browse files
committed
(possibly clueless) attempt at making this 'linker aware' as mentioned in #423
1 parent 56a3124 commit 03c1bdd

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<linker>
2+
<assembly fullname="SQLitePCLRaw.core">
3+
<type fullname="SQLitePCL.MonoPInvokeCallbackAttribute"/>
4+
</assembly>
5+
</linker>
6+

src/SQLitePCLRaw.core/SQLitePCLRaw.core.csproj

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@
1010
<PackageDescription>SQLitePCL.raw is a Portable Class Library (PCL) for low-level (raw) access to SQLite. This package does not provide an API which is friendly to app developers. Rather, it provides an API which handles platform and configuration issues, upon which a friendlier API can be built. In order to use this package, you will need to also add one of the SQLitePCLRaw.provider.* packages and call raw.SetProvider(). Convenience packages are named SQLitePCLRaw.bundle_*.</PackageDescription>
1111
</PropertyGroup>
1212

13+
<ItemGroup>
14+
<!-- https://docs.microsoft.com/en-us/dotnet/core/deploying/trimming-options -->
15+
<EmbeddedResource Include="LinkerDefinition.xml">
16+
<LogicalName>LLink.Descriptors.xml</LogicalName>
17+
</EmbeddedResource>
18+
</ItemGroup>
19+
1320
<ItemGroup>
1421
<Compile Include="raw.cs" />
1522
<Compile Include="handles.cs" />

0 commit comments

Comments
 (0)