Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 9c8dc85

Browse files
committed
Remove unnecessary net6.0 deps
1 parent aa48362 commit 9c8dc85

File tree

3 files changed

+17
-20
lines changed

3 files changed

+17
-20
lines changed

src/ServiceStack.Text/ServiceStack.Text.csproj

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,5 @@
3030
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="1.1.1" />
3131
</ItemGroup>
3232
<ItemGroup Condition=" '$(TargetFramework)' == 'net6.0' ">
33-
<PackageReference Include="System.Runtime" Version="4.3.1" />
34-
<PackageReference Include="System.Reflection.Emit" Version="4.7.0" />
35-
<PackageReference Include="System.Reflection.Emit.LightWeight" Version="4.7.0" />
3633
</ItemGroup>
3734
</Project>

tests/ServiceStack.Text.TestsConsole/Program.cs

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using System.Reflection.Emit;
66
using NUnit.Framework;
77
using ServiceStack.Common.Tests;
8-
using ServiceStack.OrmLite;
8+
//using ServiceStack.OrmLite;
99
using ServiceStack.Reflection;
1010

1111
namespace ServiceStack.Text.TestsConsole
@@ -14,7 +14,7 @@ class Program
1414
{
1515
public static void Main(string[] args)
1616
{
17-
PrintDumpColumnSchema();
17+
// PrintDumpColumnSchema();
1818

1919
//var da = AppDomain.CurrentDomain.DefineDynamicAssembly(new AssemblyName("dyn"), AssemblyBuilderAccess.Save);
2020

@@ -62,19 +62,19 @@ public void Compare_interpolation_vs_string_Concat()
6262

6363
public static object SimpleConcat(string text) => "Hi " + text;
6464

65-
public static void PrintDumpColumnSchema()
66-
{
67-
var dbFactory = new OrmLiteConnectionFactory(":memory:",
68-
SqliteDialect.Provider);
69-
70-
using var db = dbFactory.Open();
71-
db.CreateTableIfNotExists<Person>();
72-
73-
ColumnSchema[] columnSchemas = db.GetTableColumns<Person>();
74-
75-
columnSchemas.Each(x => x.ToString().Print());
76-
columnSchemas.Each(x => x.PrintDump());
77-
}
65+
// public static void PrintDumpColumnSchema()
66+
// {
67+
// var dbFactory = new OrmLiteConnectionFactory(":memory:",
68+
// SqliteDialect.Provider);
69+
//
70+
// using var db = dbFactory.Open();
71+
// db.CreateTableIfNotExists<Person>();
72+
//
73+
// ColumnSchema[] columnSchemas = db.GetTableColumns<Person>();
74+
//
75+
// columnSchemas.Each(x => x.ToString().Print());
76+
// columnSchemas.Each(x => x.PrintDump());
77+
// }
7878

7979
public class Person
8080
{

tests/ServiceStack.Text.TestsConsole/ServiceStack.Text.TestsConsole.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<ProjectReference Include="..\ServiceStack.Text.Tests\ServiceStack.Text.Tests.csproj" />
1212
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
1313
<PackageReference Include="System.Memory" Version="4.5.4" />
14-
<PackageReference Include="ServiceStack" Version="5.*" />
15-
<PackageReference Include="ServiceStack.OrmLite.Sqlite" Version="5.*" />
14+
<PackageReference Include="ServiceStack" Version="$(Version)" />
15+
<!-- <PackageReference Include="ServiceStack.OrmLite.Sqlite" Version="$(Version)" />-->
1616
</ItemGroup>
1717
</Project>

0 commit comments

Comments
 (0)