diff options
author | Marius Ungureanu <maungu@microsoft.com> | 2018-07-30 08:41:17 +0300 |
---|---|---|
committer | Marius Ungureanu <teromario@yahoo.com> | 2018-07-30 12:38:17 +0300 |
commit | d1269d79cad8509f8cbf3adec521d69f41297528 (patch) | |
tree | f9e22feaabf0b0a4b0563202ad461438d663e3d1 /main/MonoDevelop.props | |
parent | e32577a86fa71bd29b50569f2d2565420a142cbb (diff) |
[Build] Enable strict mode, allowing us to catch errors such as comparing IntPtr with null
Diffstat (limited to 'main/MonoDevelop.props')
-rw-r--r-- | main/MonoDevelop.props | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/MonoDevelop.props b/main/MonoDevelop.props index 0bbf46f27c..7e7b229647 100644 --- a/main/MonoDevelop.props +++ b/main/MonoDevelop.props @@ -5,6 +5,7 @@ <CustomBeforeMicrosoftCommonTargets>$(MonoDevelopRootDir)\msbuild\MonoDevelop.BeforeCommon.targets</CustomBeforeMicrosoftCommonTargets> <CustomAfterMicrosoftCommonTargets>$(MonoDevelopRootDir)\msbuild\MonoDevelop.AfterCommon.targets</CustomAfterMicrosoftCommonTargets> <MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects> + <Features>strict</Features> </PropertyGroup> <!-- import common targets if they were not imported already by an MSBuild Sdk --> <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="'$(MicrosoftCommonPropsHasBeenImported)' != 'true'" /> |