Skip to content

Commit b1a98be

Browse files
committed
Remove .NET 6.0 framework target
(cherry picked from commit fe82a6c)
1 parent 6cb4868 commit b1a98be

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

ShopifySharp.Extensions.DependencyInjection/ShopifySharp.Extensions.DependencyInjection.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>net6.0;net8.0;netstandard2.1;netstandard2.0</TargetFrameworks>
3+
<TargetFrameworks>net8.0;netstandard2.1;netstandard2.0</TargetFrameworks>
44
<Nullable>enable</Nullable>
55
<LangVersion>Latest</LangVersion>
66
<VersionPrefix>1.7.0</VersionPrefix>

ShopifySharp/ShopifySharp.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>net6.0;netstandard2.0;net8.0</TargetFrameworks>
3+
<TargetFrameworks>netstandard2.0;net8.0</TargetFrameworks>
44
<AssemblyName>ShopifySharp</AssemblyName>
55
<RootNamespace>ShopifySharp</RootNamespace>
66
<VersionPrefix>6.22.0</VersionPrefix>

docs/contribution-guide.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,17 +101,17 @@ Once you've got the env file configured, you'll be ready to run the tests. Most
101101
If you've got a ton of time on your hands, you could run all tests at once with the following command:
102102

103103
```sh
104-
dotnet test --framework net6.0 ShopifySharp.Tests
104+
dotnet test --framework net8.0 ShopifySharp.Tests
105105
```
106106

107-
That command will run all of the tests in the solution using the `net6.0` (.NET 6) framework. It can take upwards of 15 minutes to run the entire suite, and it's likely that things will break due to rate limits. ShopifySharp's automated tests actually run each test category one at a time, rather than the entire suite all at once.
107+
That command will run all of the tests in the solution using the `net8.0` (.NET 8) framework. It can take upwards of 15 minutes to run the entire suite, and it's likely that things will break due to rate limits. ShopifySharp's automated tests actually run each test category one at a time, rather than the entire suite all at once.
108108

109109
### Running tests for specific categories/services
110110

111111
Every test file in the _ShopifySharp.Tests_ folder has its own category. For example, tests for the order service use the `Order` category. We use xUnit as our test runner, which means you can run all the tests in just one category using this command:
112112

113113
```sh
114-
dotnet test --framework net6.0 --filter "Category=Order"
114+
dotnet test --framework net8.0 --filter "Category=Order"
115115
```
116116

117117
It's generally recommended that you run one single test category for whatever you're testing, rather than running the entire ShopifySharp suite of tests all at once.

0 commit comments

Comments
 (0)