Skip to content

Commit 7b3b9a8

Browse files
committed
Add new core project
1 parent fa9ea09 commit 7b3b9a8

File tree

5 files changed

+36
-4
lines changed

5 files changed

+36
-4
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
using Microsoft.Extensions.Configuration;
2+
using Microsoft.Extensions.DependencyInjection;
3+
4+
namespace WslToolbox.Core.Extensions;
5+
6+
public static class ServiceExtensions
7+
{
8+
public static void AddWslToolbox(this IServiceCollection services, IConfiguration configuration)
9+
{
10+
}
11+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFramework>net8.0-windows</TargetFramework>
5+
<ImplicitUsings>enable</ImplicitUsings>
6+
<Nullable>enable</Nullable>
7+
</PropertyGroup>
8+
9+
<ItemGroup>
10+
<PackageReference Include="AutoMapper" Version="13.0.1" />
11+
<PackageReference Include="ini-parser-netstandard" Version="2.5.2" />
12+
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="8.0.0" />
13+
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.0" />
14+
<PackageReference Include="Microsoft.Win32.Registry" Version="5.0.0" />
15+
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
16+
</ItemGroup>
17+
18+
</Project>

WslToolbox.UI.Core/WslToolbox.UI.Core.csproj

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,13 @@
2323
</PropertyGroup>
2424

2525
<ItemGroup>
26-
<PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="12.0.1" />
27-
<PackageReference Include="ini-parser-netstandard" Version="2.5.2" />
2826
<PackageReference Include="Microsoft.Extensions.Http" Version="8.0.0" />
29-
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
3027
<PackageReference Include="Serilog.Extensions.Hosting" Version="8.0.0" />
3128
</ItemGroup>
3229

3330
<ItemGroup>
3431
<ProjectReference Include="..\WslToolbox.Core.Legacy\WslToolbox.Core.Legacy.csproj" />
32+
<ProjectReference Include="..\WslToolbox.Core\WslToolbox.Core.csproj" />
3533
</ItemGroup>
3634

3735
<ItemGroup>

WslToolbox.UI/WslToolbox.UI.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@
5454
</ItemGroup>
5555

5656
<ItemGroup>
57-
<PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="12.0.1" />
5857
<PackageReference Include="CommunityToolkit.Common" Version="8.3.0" />
5958
<PackageReference Include="CommunityToolkit.Labs.WinUI.SettingsControls" Version="0.0.18" />
6059
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.2" />

WslToolbox.sln

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WslToolbox.UI.Core", "WslTo
1111
EndProject
1212
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WslToolbox.Cli", "WslToolbox.Cli\WslToolbox.Cli.csproj", "{967F9E29-47B6-4238-84E6-AB2A93FD87D9}"
1313
EndProject
14+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WslToolbox.Core", "WslToolbox.Core\WslToolbox.Core.csproj", "{9B53B4D8-1607-442C-804D-33AD38BD5909}"
15+
EndProject
1416
Global
1517
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1618
Debug|x64 = Debug|x64
@@ -35,6 +37,10 @@ Global
3537
{967F9E29-47B6-4238-84E6-AB2A93FD87D9}.Debug|x64.Build.0 = Debug|Any CPU
3638
{967F9E29-47B6-4238-84E6-AB2A93FD87D9}.Release|x64.ActiveCfg = Release|Any CPU
3739
{967F9E29-47B6-4238-84E6-AB2A93FD87D9}.Release|x64.Build.0 = Release|Any CPU
40+
{9B53B4D8-1607-442C-804D-33AD38BD5909}.Debug|x64.ActiveCfg = Debug|Any CPU
41+
{9B53B4D8-1607-442C-804D-33AD38BD5909}.Debug|x64.Build.0 = Debug|Any CPU
42+
{9B53B4D8-1607-442C-804D-33AD38BD5909}.Release|x64.ActiveCfg = Release|Any CPU
43+
{9B53B4D8-1607-442C-804D-33AD38BD5909}.Release|x64.Build.0 = Release|Any CPU
3844
EndGlobalSection
3945
GlobalSection(SolutionProperties) = preSolution
4046
HideSolutionNode = FALSE

0 commit comments

Comments
 (0)