Optimize on release builds only

This commit is contained in:
Mushroom
2016-09-04 00:55:26 +01:00
parent 3df4201c8c
commit b749be8a2f

View File

@@ -16,15 +16,15 @@
"buildOptions": { "buildOptions": {
"allowUnsafe": true, "allowUnsafe": true,
"warningsAsErrors": false, "warningsAsErrors": false,
"xmlDoc": true, "xmlDoc": true
"optimize": true
}, },
"configurations": { "configurations": {
"Release": { "Release": {
"buildOptions": { "buildOptions": {
"define": [ "RELEASE" ], "define": [ "RELEASE" ],
"nowarn": [ "CS1573", "CS1591" ] "nowarn": [ "CS1573", "CS1591" ],
"optimize": true
} }
} }
}, },