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

Commit c931dae

Browse files
committed
Add project.json and SS.Redis.project.json to src/ folder
1 parent ced379d commit c931dae

File tree

8 files changed

+154
-2
lines changed

8 files changed

+154
-2
lines changed

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ _ReSharper*/
3535
[Tt]est[Rr]esult*
3636
App_Data/
3737
.vs/
38+
.vscode/
39+
*.lock.json
40+
*.nuget.props
41+
*.nuget.targets
3842

3943
NuGet/
4044
NuGet.Signed/

src/ServiceStack.Common/project.json

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"configurations": {
3+
"Debug": {
4+
"buildOptions": {
5+
"define": [
6+
"DEBUG",
7+
"TRACE"
8+
]
9+
}
10+
},
11+
"Release": {
12+
"buildOptions": {
13+
"define": [
14+
"TRACE"
15+
],
16+
"optimize": true
17+
}
18+
}
19+
},
20+
"dependencies": {
21+
"NETStandard.Library": "1.6.0",
22+
"ServiceStack.Interfaces": "1.0.*",
23+
"ServiceStack.Text": "1.0.*"
24+
},
25+
"frameworks": {
26+
"netstandard1.3": {
27+
"buildOptions": {
28+
"define": [
29+
"NETSTANDARD1_1"
30+
]
31+
},
32+
"dependencies": {},
33+
"bin": {
34+
"assembly": "../../lib/netcore/ServiceStack.Common.dll",
35+
"pdb": "../../lib/netcore/ServiceStack.Common.pdb"
36+
}
37+
}
38+
},
39+
"version": "1.0.0"
40+
}
+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"configurations": {
3+
"Debug": {
4+
"buildOptions": {
5+
"define": [
6+
"DEBUG",
7+
"TRACE"
8+
]
9+
}
10+
},
11+
"Release": {
12+
"buildOptions": {
13+
"define": [
14+
"TRACE"
15+
],
16+
"optimize": true
17+
}
18+
}
19+
},
20+
"dependencies": {
21+
"NETStandard.Library": "1.6.0"
22+
},
23+
"frameworks": {
24+
"netstandard1.1": {
25+
"dependencies": {},
26+
"bin": {
27+
"assembly": "../../lib/netcore/ServiceStack.Interfaces.dll",
28+
"pdb": "../../lib/netcore/ServiceStack.Interfaces.pdb"
29+
}
30+
}
31+
},
32+
"version": "1.0.0"
33+
}

src/ServiceStack.Redis.NetCore/ServiceStack.Redis/project.json

-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
"ServiceStack.Common" : "1.0.*"
2020
},
2121
"compile": ["../../ServiceStack.Redis/**/*.cs"],
22-
"exclude": ["../../ServiceStack.Redis/RedisPipeline.cs"],
2322
"frameworks": {
2423
"netstandard1.3": {
2524
"dependencies" : {

src/ServiceStack.Redis/RedisPipeline.cs

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#if !NETSTANDARD1_3
12
using System;
23
using System.Collections.Generic;
34
using System.Linq;
@@ -42,4 +43,5 @@ public void Flush()
4243
client.FlushSendBuffer();
4344
}
4445
}
45-
}
46+
}
47+
#endif
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"frameworks": {
3+
"net45": {}
4+
},
5+
"runtimes": {
6+
"win": {}
7+
}
8+
}

src/ServiceStack.Redis/project.json

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"configurations": {
3+
"Debug": {
4+
"buildOptions": {
5+
"define": ["DEBUG", "TRACE"]
6+
}
7+
},
8+
"Release": {
9+
"buildOptions": {
10+
"define": ["TRACE"],
11+
"optimize": true
12+
}
13+
}
14+
},
15+
"dependencies": {
16+
"NETStandard.Library": "1.6.0",
17+
"ServiceStack.Interfaces" : "1.0.*",
18+
"ServiceStack.Text" : "1.0.*",
19+
"ServiceStack.Common" : "1.0.*"
20+
},
21+
"frameworks": {
22+
"netstandard1.3": {
23+
"dependencies" : {
24+
"System.Net.Security" : "4.0.0",
25+
"System.Collections.Specialized": "4.0.1",
26+
"System.Collections.NonGeneric": "4.0.1",
27+
"System.Net.NameResolution" : "4.0.0"
28+
}
29+
}
30+
31+
},
32+
"version": "1.0.0"
33+
}

src/ServiceStack.Text/project.json

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"configurations": {
3+
"Debug": {
4+
"buildOptions": {
5+
"define": [
6+
"DEBUG",
7+
"TRACE"
8+
]
9+
}
10+
},
11+
"Release": {
12+
"buildOptions": {
13+
"define": [
14+
"TRACE"
15+
],
16+
"optimize": true
17+
}
18+
}
19+
},
20+
"dependencies": {
21+
"NETStandard.Library": "1.6.0"
22+
},
23+
"frameworks": {
24+
"netstandard1.1": {
25+
"dependencies": {},
26+
"bin": {
27+
"assembly": "../../lib/netcore/ServiceStack.Text.dll",
28+
"pdb": "../../lib/netcore/ServiceStack.Text.pdb"
29+
}
30+
}
31+
},
32+
"version": "1.0.0"
33+
}

0 commit comments

Comments
 (0)