Browse Source

Enabled nullable reference types for IPA.exe

pull/94/head
Anairkoen Schno 3 years ago
parent
commit
b02d457747
Signed by: DaNike GPG Key ID: BEFB74D5F3FC4387
3 changed files with 13 additions and 9 deletions
  1. +11
    -0
      Common.props
  2. +0
    -9
      Common.targets
  3. +2
    -0
      IPA/IPA.csproj

+ 11
- 0
Common.props View File

@ -1,4 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<PropertyGroup>
<!--<PathMap>$(SolutionDir)=C:\</PathMap>-->
<DebugType>portable</DebugType>
<LangVersion>9</LangVersion>
<NoWarn>CA1031</NoWarn>
<Nullable>disable</Nullable>
<WarningsAsErrors>$(WarningsAsErrors);nullable</WarningsAsErrors>
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
<AnalysisLevel>latest</AnalysisLevel>
</PropertyGroup>
</Project>

+ 0
- 9
Common.targets View File

@ -1,13 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<PropertyGroup>
<!--<PathMap>$(SolutionDir)=C:\</PathMap>-->
<DebugType>portable</DebugType>
<LangVersion>9</LangVersion>
<NoWarn>CA1031</NoWarn>
<WarningsAsErrors>$(WarningsAsErrors);nullable</WarningsAsErrors>
<Nullable>disable</Nullable>
</PropertyGroup>
</Project>

+ 2
- 0
IPA/IPA.csproj View File

@ -14,6 +14,8 @@
<GenerateDocumentationFile>false</GenerateDocumentationFile>
<ApplicationIcon>favicon.ico</ApplicationIcon>
<Nullable>enable</Nullable>
</PropertyGroup>
<Import Project="..\Common.targets"/>


Loading…
Cancel
Save