Skip to content

Commit d996634

Browse files
committed
refactor: update project files to remove TargetFramework and add InternalsVisibleTo attributes
1 parent 413eacf commit d996634

14 files changed

Lines changed: 8 additions & 50 deletions

File tree

Directory.Build.props

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
<Project>
22
<PropertyGroup>
3-
<LangVersion>latest</LangVersion>
3+
<TargetFramework>net10.0</TargetFramework>
44
<ImplicitUsings>enable</ImplicitUsings>
55
<Nullable>enable</Nullable>
6+
<IsPackable>false</IsPackable>
67
</PropertyGroup>
78

89
<PropertyGroup>
Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<PropertyGroup>
4-
<TargetFramework>net10.0</TargetFramework>
5-
</PropertyGroup>
6-
73
</Project>

src/RustPlusBot.Discord/RustPlusBot.Discord.csproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,4 @@
1111
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" />
1212
</ItemGroup>
1313

14-
<PropertyGroup>
15-
<TargetFramework>net10.0</TargetFramework>
16-
</PropertyGroup>
17-
1814
</Project>

src/RustPlusBot.Domain/RustPlusBot.Domain.csproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,4 @@
44
<ProjectReference Include="..\RustPlusBot.Abstractions\RustPlusBot.Abstractions.csproj" />
55
</ItemGroup>
66

7-
<PropertyGroup>
8-
<TargetFramework>net10.0</TargetFramework>
9-
</PropertyGroup>
10-
117
</Project>

src/RustPlusBot.Features.Pairing/AssemblyInfo.cs

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

src/RustPlusBot.Features.Pairing/RustPlusBot.Features.Pairing.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<PropertyGroup>
4-
<TargetFramework>net10.0</TargetFramework>
5-
</PropertyGroup>
3+
<ItemGroup>
4+
<InternalsVisibleTo Include="RustPlusBot.Features.Pairing.Tests" />
5+
</ItemGroup>
66

77
<ItemGroup>
88
<ProjectReference Include="..\RustPlusBot.Discord\RustPlusBot.Discord.csproj" />

src/RustPlusBot.Features.Workspace/AssemblyInfo.cs

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

src/RustPlusBot.Features.Workspace/RustPlusBot.Features.Workspace.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<PropertyGroup>
4-
<TargetFramework>net10.0</TargetFramework>
5-
</PropertyGroup>
3+
<ItemGroup>
4+
<InternalsVisibleTo Include="RustPlusBot.Features.Workspace.Tests" />
5+
</ItemGroup>
66

77
<ItemGroup>
88
<ProjectReference Include="..\RustPlusBot.Discord\RustPlusBot.Discord.csproj" />

src/RustPlusBot.Host/RustPlusBot.Host.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk.Worker">
22

33
<PropertyGroup>
4-
<TargetFramework>net10.0</TargetFramework>
54
<UserSecretsId>dotnet-RustPlusBot.Host-f6a79d7f-2770-43f1-9db3-79684c4d4507</UserSecretsId>
65
</PropertyGroup>
76

src/RustPlusBot.Persistence/RustPlusBot.Persistence.csproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,4 @@
1414
<PackageReference Include="Persistord.Core" />
1515
</ItemGroup>
1616

17-
<PropertyGroup>
18-
<TargetFramework>net10.0</TargetFramework>
19-
</PropertyGroup>
20-
2117
</Project>

0 commit comments

Comments
 (0)