Skip to content

Commit

Permalink
automatic internalsvisibleto attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
petrsvihlik committed Oct 23, 2022
1 parent 8527e80 commit d87ce1e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 14 deletions.
5 changes: 5 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,9 @@
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
<ItemGroup Condition="!$(MSBuildProjectName.EndsWith('Tests'))">
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleToAttribute">
<_Parameter1>$(AssemblyName).Tests</_Parameter1>
</AssemblyAttribute>
</ItemGroup>
</Project>
7 changes: 0 additions & 7 deletions WopiHost.Core/WopiHost.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,4 @@
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="6.0.0" />
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="6.24.0" />
</ItemGroup>

<ItemGroup>
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleToAttribute">
<_Parameter1>WopiHost.Core.Tests</_Parameter1>
</AssemblyAttribute>
</ItemGroup>

</Project>
7 changes: 0 additions & 7 deletions WopiHost.Discovery/WopiHost.Discovery.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,4 @@
<PackageReference Include="System.Net.Http" Version="4.3.4" />
<PackageReference Include="System.Xml.XDocument" Version="4.3.0" />
</ItemGroup>

<ItemGroup>
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleToAttribute">
<_Parameter1>WopiHost.Discovery.Tests</_Parameter1>
</AssemblyAttribute>
</ItemGroup>

</Project>

0 comments on commit d87ce1e

Please sign in to comment.