Commit 5e902aaf authored by Jeremy Meng's avatar Jeremy Meng

Add Debug and Release configurations.

parent 0eea9079
...@@ -7,8 +7,7 @@ ...@@ -7,8 +7,7 @@
"licenseUrl": "", "licenseUrl": "",
"compile": [ "compile": [
"../../StackExchange.Redis.Tests/TestBase.cs", "../../StackExchange.Redis.Tests/**/*.cs"
"../../StackExchange.Redis.Tests/Locking.cs"
], ],
"dependencies": { "dependencies": {
...@@ -19,12 +18,21 @@ ...@@ -19,12 +18,21 @@
"run": "StackExchange.Redis.Tests" "run": "StackExchange.Redis.Tests"
}, },
"frameworks": { "configurations": {
"dnxcore50": { "Debug": {
"compilationOptions": {
"define": [ "DEBUG", "TRACE", "PLAT_SAFE_CONTINUATIONS", "VERBOSE" ]
}
},
"Release": {
"compilationOptions": { "compilationOptions": {
"define": [ "PLAT_SAFE_CONTINUATIONS" ], "define": [ "TRACE", "PLAT_SAFE_CONTINUATIONS", "VERBOSE" ]
"warningsAsErrors": false }
}
}, },
"frameworks": {
"dnxcore50": {
"dependencies": { "dependencies": {
"System.Console": "4.0.0-beta-*", "System.Console": "4.0.0-beta-*",
"System.Linq.Expressions": "4.0.11-beta-*", "System.Linq.Expressions": "4.0.11-beta-*",
......
...@@ -13,13 +13,23 @@ ...@@ -13,13 +13,23 @@
"dependencies": { "dependencies": {
}, },
"frameworks": { "configurations": {
"dnxcore50": { "Debug": {
"compilationOptions": {
"define": [ "DEBUG", "TRACE", "PLAT_SAFE_CONTINUATIONS" ],
"allowUnsafe": true
}
},
"Release": {
"compilationOptions": { "compilationOptions": {
"define": [ "PLAT_SAFE_CONTINUATIONS" ], "define": [ "TRACE", "PLAT_SAFE_CONTINUATIONS" ],
"allowUnsafe": true, "allowUnsafe": true
"warningsAsErrors": false }
}
}, },
"frameworks": {
"dnxcore50": {
"dependencies": { "dependencies": {
"System.Diagnostics.Debug": "4.0.0", "System.Diagnostics.Debug": "4.0.0",
"System.Diagnostics.TraceSource": "4.0.0-beta-*", "System.Diagnostics.TraceSource": "4.0.0-beta-*",
...@@ -37,7 +47,6 @@ ...@@ -37,7 +47,6 @@
"System.Reflection.Primitives": "4.0.0", "System.Reflection.Primitives": "4.0.0",
"System.Reflection.Emit.Lightweight": "4.0.0", "System.Reflection.Emit.Lightweight": "4.0.0",
"System.Security.Cryptography.Algorithms": "4.0.0-beta-*", "System.Security.Cryptography.Algorithms": "4.0.0-beta-*",
"System.Security.Cryptography.Hashing.Algorithms": "4.0.0-beta-*",
"System.Security.Cryptography.X509Certificates": "4.0.0-beta-*", "System.Security.Cryptography.X509Certificates": "4.0.0-beta-*",
"System.Text.RegularExpressions": "4.0.10", "System.Text.RegularExpressions": "4.0.10",
"System.Threading": "4.0.0", "System.Threading": "4.0.0",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment