Skip to content

Commit 37ddbd9

Browse files
committed
fix ci build
1 parent 2bd1ccf commit 37ddbd9

File tree

4 files changed

+15
-9
lines changed

4 files changed

+15
-9
lines changed

JsonApiDotNetCore/project.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@
1919
"System.Reflection.Extensions": "4.0.1"
2020
},
2121
"frameworks": {
22+
"net451": {},
2223
"netstandard1.6": {
2324
"imports": "dnxcore50",
2425
"dependencies": {
2526
"System.Reflection.TypeExtensions": "4.1.0"
2627
}
27-
},
28-
"net452": {}
28+
}
2929
},
3030
"tooling": {
3131
"defaultNamespace": "JsonApiDotNetCore"

JsonApiDotNetCoreExample/project.json

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
{
22
"dependencies": {
3-
"Microsoft.NETCore.App": {
4-
"version": "1.0.0",
5-
"type": "platform"
6-
},
73
"Microsoft.AspNetCore.Mvc": "1.0.0",
84
"Microsoft.AspNetCore.Server.IISIntegration": "1.0.0",
95
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0",
@@ -30,7 +26,14 @@
3026
}
3127
},
3228
"frameworks": {
29+
"net451": {},
3330
"netcoreapp1.0": {
31+
"dependencies": {
32+
"Microsoft.NETCore.App": {
33+
"version": "1.0.0",
34+
"type": "platform"
35+
}
36+
},
3437
"imports": [
3538
"dotnet5.6",
3639
"portable-net45+win8"
@@ -42,7 +45,9 @@
4245
"preserveCompilationContext": true,
4346
"debugType": "portable",
4447
"copyToOutput": {
45-
"include": ["appsettings.json"]
48+
"include": [
49+
"appsettings.json"
50+
]
4651
}
4752
},
4853
"runtimeOptions": {

JsonApiDotNetCoreTests/project.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"moq": "4.6.38-alpha"
99
},
1010
"frameworks": {
11+
"net451": {},
1112
"netcoreapp1.0": {
1213
"imports": [
1314
"dotnet5.6",

build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ dotnet test ./JsonApiDotNetCoreTests -c Release -f netcoreapp1.0
2020
dotnet build ./JsonApiDotNetCoreTests -c Release -f net451
2121

2222
mono \
23-
./test/JsonApiDotNetCoreTests/bin/Release/net451/*/dotnet-test-xunit.exe \
24-
./test/JsonApiDotNetCoreTests/bin/Release/net451/*/JsonApiDotNetCoreTests.dll
23+
./JsonApiDotNetCoreTests/bin/Release/net451/*/dotnet-test-xunit.exe \
24+
./JsonApiDotNetCoreTests/bin/Release/net451/*/JsonApiDotNetCoreTests.dll
2525

2626
revision=${TRAVIS_JOB_ID:=1}
2727
revision=$(printf "%04d" $revision)

0 commit comments

Comments
 (0)