|
25 | 25 | <AnalysisLevel>latest</AnalysisLevel> |
26 | 26 | <AnalysisMode>AllEnabledByDefault</AnalysisMode> |
27 | 27 | <ImplicitUsings>true</ImplicitUsings> |
28 | | - <LangVersion>latest</LangVersion> |
| 28 | + <LangVersion>preview</LangVersion> |
| 29 | + <NoWarn>$(NoWarn);VSSpell001</NoWarn> |
29 | 30 |
|
30 | 31 | <!-- disable sourcelink on mono, to workaround https://github.com/dotnet/sourcelink/issues/155 --> |
31 | 32 | <EnableSourceLink Condition=" '$(OS)' != 'Windows_NT' AND '$(MSBuildRuntimeType)' != 'Core' ">false</EnableSourceLink> |
|
37 | 38 | <!-- Include PDB in the built .nupkg --> |
38 | 39 | <AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder> |
39 | 40 | </PropertyGroup> |
| 41 | + <PropertyGroup Condition="$(IsTestProject) != 'true'"> |
| 42 | + <TreatWarningsAsErrors>false</TreatWarningsAsErrors> |
| 43 | + </PropertyGroup> |
40 | 44 |
|
41 | 45 | <!-- MonoAndroid doesn't seem to want to allow debugging for maintainers --> |
42 | 46 | <PropertyGroup Condition=" $(TargetFramework.StartsWith('MonoAndroid')) "> |
|
49 | 53 |
|
50 | 54 | <ItemGroup Condition="$(IsTestProject) or $(MSBuildProjectName.Contains('TestRunner'))"> |
51 | 55 | <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" /> |
52 | | - <PackageReference Include="xunit" Version="2.6.0" /> |
| 56 | + <PackageReference Include="xunit" Version="2.6.1" /> |
53 | 57 | <PackageReference Include="Xunit.StaFact" Version="1.1.11" /> |
54 | 58 | <PackageReference Include="FluentAssertions" Version="6.12.0" /> |
55 | 59 | <PackageReference Include="Microsoft.Reactive.Testing" Version="6.0.0" /> |
|
58 | 62 | </ItemGroup> |
59 | 63 |
|
60 | 64 | <ItemGroup Condition="$(IsTestProject)"> |
61 | | - <PackageReference Include="xunit.runner.console" Version="2.6.0" /> |
| 65 | + <PackageReference Include="xunit.runner.console" Version="2.6.1" /> |
62 | 66 | <PackageReference Include="xunit.runner.visualstudio" Version="2.5.3" /> |
63 | 67 | <PackageReference Include="coverlet.msbuild" Version="6.0.0" /> |
64 | 68 | </ItemGroup> |
|
78 | 82 | <ItemGroup> |
79 | 83 | <PackageReference Include="Nerdbank.GitVersioning" Version="3.6.133" PrivateAssets="all" /> |
80 | 84 | <PackageReference Include="stylecop.analyzers" Version="1.2.0-beta.507" PrivateAssets="all" /> |
81 | | - <PackageReference Include="Roslynator.Analyzers" Version="4.5.0" PrivateAssets="All" /> |
| 85 | + <PackageReference Include="Roslynator.Analyzers" Version="4.6.1" PrivateAssets="All" /> |
82 | 86 | </ItemGroup> |
83 | 87 |
|
84 | 88 | <ItemGroup> |
|
0 commit comments