Skip to content

Instantly share code, notes, and snippets.

@Tragetaschen
Created May 24, 2018 10:01
Show Gist options
  • Save Tragetaschen/e4d3370d56792a267c8d4fbaf7947096 to your computer and use it in GitHub Desktop.
Save Tragetaschen/e4d3370d56792a267c8d4fbaf7947096 to your computer and use it in GitHub Desktop.
Microsoft.Data.Sqlite reproduction
using SqliteLib;
namespace SqliteApp
{
class Program
{
public static void Main(string[] args) => new Foo();
}
}
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net47</TargetFramework>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\SqliteLib\SqliteLib.csproj" />
</ItemGroup>
</Project>
using Microsoft.Data.Sqlite;
namespace SqliteLib
{
public class Foo
{
public Foo() => new SqliteConnection("Data Source=:memory:");
}
}
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Data.Sqlite" Version="2.1.0-rc1-final" />
</ItemGroup>
</Project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment