Skip to content

Commit

Permalink
fix InternalsVisibleTo for tests (#1432)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp authored Feb 22, 2024
1 parent f2a31ef commit 8fd12ab
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 9 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
*.fsproj merge=union
*.dbproj merge=union

*.snk binary

# Normalise endings to CRLF
*.cs eol=crlf
*.xml eol=crlf
Expand Down
2 changes: 2 additions & 0 deletions src/Directory.build.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<ImplicitUsings>enable</ImplicitUsings>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>$(SolutionDir)Humanizer.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<Using Include="System.ReadOnlySpan&lt;System.Char&gt;" Alias="CharSpan" />
Expand Down
2 changes: 1 addition & 1 deletion src/Humanizer.Tests/Humanizer.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<PackageReference Include="Verify.DiffPlex" Version="2.3.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<ProjectReference Include="..\Humanizer\Humanizer.csproj" />
<Reference Include="System.ComponentModel.DataAnnotations" Condition="'$(TargetFramework)' == 'net48' "/>
<Reference Include="System.ComponentModel.DataAnnotations" Condition="'$(TargetFramework)' == 'net48' "/>

<Compile Include="..\Humanizer.Tests.Shared\**\*.cs">
<Link>%(RecursiveDir)%(Filename)%(Extension)</Link>
Expand Down
6 changes: 0 additions & 6 deletions src/Humanizer.Tests/ModuleInitializerAttribute.cs

This file was deleted.

File renamed without changes.
2 changes: 0 additions & 2 deletions src/Humanizer/Humanizer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
<Copyright>Copyright © .NET Foundation and Contributors</Copyright>
<Product>Humanizer ($(TargetFramework))</Product>
<GenerateDocumentationFile Condition=" '$(Configuration)' == 'Release' ">true</GenerateDocumentationFile>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>Humanizer.snk</AssemblyOriginatorKeyFile>
<DebugType Condition=" '$(BuildingForLiveUnitTesting)' != 'true' ">embedded</DebugType>
<NoWarn>CS1573;CS1591</NoWarn>
</PropertyGroup>
Expand Down

0 comments on commit 8fd12ab

Please sign in to comment.