Skip to content

Commit f329e4c

Browse files
committed
Some misc. cleanups to project files and assembly metadata
1 parent e89ba51 commit f329e4c

File tree

5 files changed

+5
-8
lines changed

5 files changed

+5
-8
lines changed

Common.props

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,20 @@
1212
<ContinuousIntegrationBuild Condition=" '$(GITLAB_CI)' != '' Or '$(APPVEYOR)' != '' ">true</ContinuousIntegrationBuild>
1313
<DebugSymbols>true</DebugSymbols>
1414
<DebugType>portable</DebugType>
15-
<DefineConstants>$(DefineConstants);TRACE</DefineConstants>
1615
<EnableNETAnalyzers>true</EnableNETAnalyzers>
1716
<ErrorReport>prompt</ErrorReport>
1817
<Features>strict</Features>
1918
<IsTargetingNetFramework>$(TargetFramework.StartsWith("net4"))</IsTargetingNetFramework>
2019
<GenerateDocumentationFile>true</GenerateDocumentationFile> <!-- it would be nice to rename these to *.api_reference.xml or something, but it seems https://github.com/dotnet/standard/issues/614 was never fixed -->
2120
<LangVersion>12.0</LangVersion>
2221
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
23-
<NoWarn>$(NoWarn);CS1591;SA0001</NoWarn>
22+
<NoWarn>$(NoWarn);CS1591</NoWarn> <!-- CS1591 wants doc comments on every type/member, which is a recipe for useless generated or blank comments -->
2423
<Nullable>enable</Nullable>
2524
<PlatformTarget>AnyCPU</PlatformTarget>
25+
<ReportAnalyzer>true</ReportAnalyzer>
26+
<WarningLevel>$(AnalysisLevel)</WarningLevel>
2627
</PropertyGroup>
2728
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
28-
<DefineConstants>$(DefineConstants);DEBUG</DefineConstants>
2929
<Optimize>false</Optimize>
3030
</PropertyGroup>
3131
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">

src/BizHawk.Client.Common/AssemblyInfo.cs

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/BizHawk.Client.Common/BizHawk.Client.Common.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
<ProjectReference Include="$(ProjectDir)../BizHawk.Bizware.Graphics/BizHawk.Bizware.Graphics.csproj" />
1919
<ProjectReference Include="$(ProjectDir)../BizHawk.Bizware.Input/BizHawk.Bizware.Input.csproj" />
2020
<EmbeddedResource Include="Resources/**/*" />
21+
<InternalsVisibleTo Include="BizHawk.Tests" />
2122
</ItemGroup>
2223
<ItemGroup>
2324
<Compile Update="movie/bk2/Bk2Movie.HeaderApi.cs" DependentUpon="Bk2Movie.cs" />

src/BizHawk.Tests/EmbeddedData.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
using System.IO;
22
using System.Reflection;
33

4-
[assembly: Parallelize(Scope = ExecutionScope.MethodLevel)]
5-
64
namespace BizHawk.Tests
75
{
86
public static class EmbeddedData
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[assembly: Parallelize(Scope = ExecutionScope.MethodLevel)]

0 commit comments

Comments
 (0)