diff options
author | Michal Strehovský <MichalStrehovsky@users.noreply.github.com> | 2018-08-02 18:36:13 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-02 18:36:13 +0300 |
commit | e1da6605d83831da6c898a4cb4a4f4bb4724aa41 (patch) | |
tree | 194471c05e1fc028790a6d40b474a0cdf437d674 /src | |
parent | 191e5c2ef070dde7a745431b885ac4ecd0c0fd3a (diff) |
Improve repro project config (#6172)
* `S.R.CompilerServices.Unsafe` is often useful in repro code
* We treat warnings as errors in all of CoreRT, but warnings about unused fields or unused assignments often happen and are not helpful in repro project.
Diffstat (limited to 'src')
-rw-r--r-- | src/ILCompiler/repro/repro.csproj | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ILCompiler/repro/repro.csproj b/src/ILCompiler/repro/repro.csproj index 4a81549b0..e8ec9a042 100644 --- a/src/ILCompiler/repro/repro.csproj +++ b/src/ILCompiler/repro/repro.csproj @@ -8,11 +8,17 @@ <SkipSigning>true</SkipSigning> <GenerateAssemblyInfo>false</GenerateAssemblyInfo> <CopyNuGetImplementations>false</CopyNuGetImplementations> + + <!-- Supress warnings that often happen in repro code --> + <NoWarn>169;414</NoWarn> </PropertyGroup> <ItemGroup> <PackageReference Include="Microsoft.NETCore.App"> <Version>$(MicrosoftNETCoreAppPackageVersion)</Version> </PackageReference> + <PackageReference Include="System.Runtime.CompilerServices.Unsafe"> + <Version>4.5.1</Version> + </PackageReference> </ItemGroup> <ItemGroup> <Compile Include="Program.cs" /> |