Skip to content

Commit

Permalink
Use Community.Wsx.Shared (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gitii authored Jun 12, 2022
1 parent 94dfd81 commit b6c40b2
Show file tree
Hide file tree
Showing 28 changed files with 17 additions and 474 deletions.
6 changes: 1 addition & 5 deletions Community.Wsl.Sdk.Tests/CommandExecutionOptionsTests.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Text;
using FluentAssertions;
using NUnit.Framework;

Expand Down
7 changes: 1 addition & 6 deletions Community.Wsl.Sdk.Tests/CommandResultTests.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FluentAssertions;
using FluentAssertions;
using NUnit.Framework;

namespace Community.Wsl.Sdk.Tests;
Expand Down
2 changes: 1 addition & 1 deletion Community.Wsl.Sdk.Tests/CommandTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using Community.Wsl.Sdk.Strategies.Api;
using Community.Wsl.Sdk.Strategies.Commands;
using Community.Wsx.Shared;
using FakeItEasy;
using FluentAssertions;
using NUnit.Framework;
Expand Down
2 changes: 1 addition & 1 deletion Community.Wsl.Sdk.Tests/Community.Wsl.Sdk.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0-windows</TargetFramework>
<TargetFramework>net6.0-windows7.0</TargetFramework>
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>
<SignAssembly>True</SignAssembly>
Expand Down
1 change: 0 additions & 1 deletion Community.Wsl.Sdk.Tests/StreamDataReaderTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using System.IO;
using System.Threading.Tasks;
using Community.Wsl.Sdk.Strategies.Commands;
using FakeItEasy;
using FluentAssertions;
using NUnit.Framework;

Expand Down
6 changes: 1 addition & 5 deletions Community.Wsl.Sdk.Tests/StreamNullReaderTests.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading.Tasks;
using Community.Wsl.Sdk.Strategies.Commands;
using FluentAssertions;
using NUnit.Framework;
Expand Down
4 changes: 1 addition & 3 deletions Community.Wsl.Sdk.Tests/StreamStringReaderTests.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.IO;
using System.Threading.Tasks;
using System.IO;
using Community.Wsl.Sdk.Strategies.Commands;
using FluentAssertions;
using NUnit.Framework;
Expand Down
45 changes: 0 additions & 45 deletions Community.Wsl.Sdk.Tests/Win32EnvironmentTests.cs

This file was deleted.

94 changes: 0 additions & 94 deletions Community.Wsl.Sdk.Tests/Win32RegistryKeyTests.cs

This file was deleted.

6 changes: 4 additions & 2 deletions Community.Wsl.Sdk/Community.Wsl.Sdk.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFrameworks>net6.0-windows</TargetFrameworks>
<SupportedOSPlatform>windows</SupportedOSPlatform>
<Description>SDK for Windows Subsystem for Linux for .NET 6</Description>
<Copyright>(c) 2021 Gitii</Copyright>
<Copyright>(c) 2022 Gitii</Copyright>
<PackageProjectUrl>https://github.com/Gitii/community.wsl.sdk</PackageProjectUrl>
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
Expand Down Expand Up @@ -55,7 +55,9 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Win32.Registry" Version="5.0.0" />
<PackageReference Include="Community.Wsx.Shared">
<Version>1.0.3</Version>
</PackageReference>
</ItemGroup>

<ItemGroup>
Expand Down
16 changes: 0 additions & 16 deletions Community.Wsl.Sdk/IsExternalInit.cs

This file was deleted.

9 changes: 0 additions & 9 deletions Community.Wsl.Sdk/Strategies/Api/IEnvironment.cs

This file was deleted.

8 changes: 0 additions & 8 deletions Community.Wsl.Sdk/Strategies/Api/IIo.cs

This file was deleted.

52 changes: 0 additions & 52 deletions Community.Wsl.Sdk/Strategies/Api/IProcess.cs

This file was deleted.

17 changes: 0 additions & 17 deletions Community.Wsl.Sdk/Strategies/Api/IProcessManager.cs

This file was deleted.

6 changes: 0 additions & 6 deletions Community.Wsl.Sdk/Strategies/Api/IRegistry.cs

This file was deleted.

16 changes: 0 additions & 16 deletions Community.Wsl.Sdk/Strategies/Api/IRegistryKey.cs

This file was deleted.

17 changes: 0 additions & 17 deletions Community.Wsl.Sdk/Strategies/Api/Win32Environment.cs

This file was deleted.

21 changes: 0 additions & 21 deletions Community.Wsl.Sdk/Strategies/Api/Win32IO.cs

This file was deleted.

Loading

0 comments on commit b6c40b2

Please sign in to comment.