File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 83
83
<CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
84
84
</Content >
85
85
</ItemGroup >
86
+
87
+ <PropertyGroup Condition =" '$(TargetFramework)'=='netcoreapp2.0'" >
88
+ <CopySQLiteInteropFiles >false</CopySQLiteInteropFiles >
89
+ <SQLitePlatformPrefix Condition =" $([MSBuild]::IsOsPlatform(Linux))" >linux-</SQLitePlatformPrefix >
90
+ <SQLitePlatformPrefix Condition =" $([MSBuild]::IsOsPlatform(OSX))" >osx-</SQLitePlatformPrefix >
91
+ <SQLitePlatformArchitecture >$([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture.ToString().ToLower())</SQLitePlatformArchitecture >
92
+ </PropertyGroup >
93
+
94
+ <ItemGroup Condition =" '$(NuGetPackageRoot)'!='' And '$(TargetFramework)'=='netcoreapp2.0'" >
95
+ <NativeBinaries Include =" $(NuGetPackageRoot)system.data.sqlite.core\1.0.109\build\netstandard2.0\$(SqlitePlatformPrefix)$(SqlitePlatformArchitecture)\*.*" />
96
+ <Content Include =" @(NativeBinaries)" >
97
+ <Link >%(RecursiveDir)%(Filename)%(Extension)</Link >
98
+ <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
99
+ </Content >
100
+ </ItemGroup >
101
+
86
102
<ItemGroup >
87
103
<ProjectReference Include =" ..\NHibernate.DomainModel\NHibernate.DomainModel.csproj" />
88
104
<ProjectReference Include =" ..\NHibernate\NHibernate.csproj" />
You can’t perform that action at this time.
0 commit comments