Skip to content

Commit c8b62f6

Browse files
committed
#207 - refactor InternalsVisibleTo management and update Directory.Build.props
1 parent ce6462e commit c8b62f6

File tree

5 files changed

+12
-9
lines changed

5 files changed

+12
-9
lines changed

Directory.Build.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<Project>
2+
23
<PropertyGroup>
34
<TargetFramework>net10.0</TargetFramework>
45
<ImplicitUsings>enable</ImplicitUsings>

src/Application/HydraScript.Application.StaticAnalysis/HydraScript.Application.StaticAnalysis.csproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,4 @@
99
<PackageReference Include="Microsoft.Extensions.DependencyInjection" />
1010
</ItemGroup>
1111

12-
<ItemGroup>
13-
<InternalsVisibleTo Include="HydraScript.UnitTests" />
14-
</ItemGroup>
15-
1612
</Project>

src/Directory.Build.props

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<Project>
2+
3+
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" />
4+
5+
<ItemGroup>
6+
<InternalsVisibleTo Include="HydraScript.UnitTests"/>
7+
<InternalsVisibleTo Include="HydraScript.IntegrationTests"/>
8+
</ItemGroup>
9+
10+
</Project>

src/Infrastructure/HydraScript.Infrastructure/HydraScript.Infrastructure.csproj

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,4 @@
1313
<PackageReference Include="ZLogger" />
1414
</ItemGroup>
1515

16-
<ItemGroup>
17-
<InternalsVisibleTo Include="HydraScript.UnitTests" />
18-
<InternalsVisibleTo Include="HydraScript.IntegrationTests" />
19-
</ItemGroup>
20-
2116
</Project>

tests/Directory.Build.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<Project>
2+
23
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" />
34

45
<PropertyGroup>

0 commit comments

Comments
 (0)