Skip to content

Commit

Permalink
Allow unit testing of signed assemblies (#83)
Browse files Browse the repository at this point in the history
## Motivation and Context (Why the change? What's the scenario?)

For unit tests to cover "internal" code.

## High level description (Approach, Design)

Change the syntax to work with signed assemblies.
  • Loading branch information
dluc authored Oct 9, 2023
1 parent e88dcbb commit 016c09c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions dotnet/CoreLib/CoreLib.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@
</ItemGroup>

<ItemGroup>
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
<_Parameter1>Microsoft.UnitTests</_Parameter1>
</AssemblyAttribute>
<InternalsVisibleTo Include="Microsoft.UnitTests" />
</ItemGroup>

</Project>

0 comments on commit 016c09c

Please sign in to comment.