Skip to content

Commit b8c716f

Browse files
authored
Miscellaneous cleanup and fixes (#4544)
* Remove leftover EnableInstallers calls * Move InternalsVisibleTo to csproj * Remove invalid reference to RavenDB system database
1 parent 40a6c84 commit b8c716f

File tree

17 files changed

+34
-55
lines changed

17 files changed

+34
-55
lines changed

src/ServiceControl.Audit.Persistence.RavenDB/InternalsVisibleTo.cs

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

src/ServiceControl.Audit.Persistence.RavenDB/ServiceControl.Audit.Persistence.RavenDB.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333

3434
<ItemGroup>
3535
<InternalsVisibleTo Include="ServiceControl.Audit.AcceptanceTests.RavenDB" />
36+
<InternalsVisibleTo Include="ServiceControl.Audit.Persistence.Tests.RavenDB" />
3637
</ItemGroup>
3738

3839
</Project>

src/ServiceControl.Audit/Infrastructure/NServiceBusFactory.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
namespace ServiceControl.Audit.Infrastructure
22
{
33
using System;
4-
using System.Diagnostics;
54
using System.Threading;
65
using System.Threading.Tasks;
76
using Contracts.EndpointControl;
@@ -56,11 +55,6 @@ public static void Configure(Settings.Settings settings, ITransportCustomization
5655

5756
configuration.DefineCriticalErrorAction(onCriticalError);
5857

59-
if (Environment.UserInteractive && Debugger.IsAttached)
60-
{
61-
configuration.EnableInstallers();
62-
}
63-
6458
configuration.Recoverability().AddUnrecoverableException<UnrecoverableException>();
6559

6660
if (AppEnvironment.RunningInContainer)

src/ServiceControl.Audit/InternalsVisibleTo.cs

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

src/ServiceControl.Audit/ServiceControl.Audit.csproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,10 @@
4949
<Artifact Include="$(OutputPath)" FileExclude="ServiceControl.Audit.dll.config" DirExclude=".logs" DestinationFolder="$(ArtifactsPath)Particular.ServiceControl.Audit" />
5050
</ItemGroup>
5151

52+
<ItemGroup>
53+
<InternalsVisibleTo Include="ServiceControl.Audit.AcceptanceTests" />
54+
<InternalsVisibleTo Include="ServiceControl.Audit.AcceptanceTests.RavenDB" />
55+
<InternalsVisibleTo Include="ServiceControl.Audit.UnitTests" />
56+
</ItemGroup>
57+
5258
</Project>

src/ServiceControl.Config/InternalsVisibleTo.cs

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

src/ServiceControl.Config/ServiceControl.Config.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,8 @@
5656
<Resource Include="Resources\**\*.*" />
5757
</ItemGroup>
5858

59+
<ItemGroup>
60+
<InternalsVisibleTo Include="ServiceControl.Config.Tests" />
61+
</ItemGroup>
62+
5963
</Project>

src/ServiceControl.Monitoring/InternalsVisibleTo.cs

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

src/ServiceControl.Monitoring/ServiceControl.Monitoring.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,9 @@
3636
<Artifact Include="$(OutputPath)" FileExclude="ServiceControl.Monitoring.dll.config;nsb*.txt" DirExclude=".logs" DestinationFolder="$(ArtifactsPath)Particular.ServiceControl.Monitoring" />
3737
</ItemGroup>
3838

39+
<ItemGroup>
40+
<InternalsVisibleTo Include="ServiceControl.Monitoring.AcceptanceTests" />
41+
<InternalsVisibleTo Include="ServiceControl.Monitoring.UnitTests" />
42+
</ItemGroup>
43+
3944
</Project>

src/ServiceControl.Persistence.RavenDB/InternalsVisibleTo.cs

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

0 commit comments

Comments
 (0)