Skip to content

Commit efdfd06

Browse files
committed
update exmaples to target .NET 8
1 parent 3e20fb6 commit efdfd06

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ dotnet tool install -g Smdn.Reflection.ReverseGenerating.ListApi
6363
dotnet tool update -g Smdn.Reflection.ReverseGenerating.ListApi
6464

6565
# install and update (specifies the target framework explicitly)
66-
dotnet tool install --framework net6.0 -g Smdn.Reflection.ReverseGenerating.ListApi
67-
dotnet tool update --framework net8.0 -g Smdn.Reflection.ReverseGenerating.ListApi
66+
dotnet tool install --framework net8.0 -g Smdn.Reflection.ReverseGenerating.ListApi
67+
dotnet tool update --framework net6.0 -g Smdn.Reflection.ReverseGenerating.ListApi
6868
```
6969

7070
## Usage

examples/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/GenerateApiListAfterBuildTask/ClassLibrary.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<LangVersion>latest</LangVersion>
66
<Nullable>enable</Nullable>
77
<ApiListOutputBaseDirectory>$(MSBuildThisFileDirectory)api-list</ApiListOutputBaseDirectory>

examples/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/GenerateApiListAfterBuildTaskMultitargeting/ClassLibrary.csproj

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

33
<PropertyGroup>
4-
<TargetFrameworks>net6.0;net48;netstandard2.1</TargetFrameworks>
4+
<TargetFrameworks>net8.0;net48;netstandard2.1</TargetFrameworks>
55
<LangVersion>latest</LangVersion>
66
<Nullable>enable</Nullable>
77
<ApiListOutputBaseDirectory>$(MSBuildThisFileDirectory)api-list</ApiListOutputBaseDirectory>

examples/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/GenerateApiListBeforeGenerateNuspecTask/ClassLibrary.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<LangVersion>latest</LangVersion>
66
<Nullable>enable</Nullable>
77
<ApiListOutputBaseDirectory>$(MSBuildThisFileDirectory)api-list</ApiListOutputBaseDirectory>

examples/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/GenerateApiListBeforeGenerateNuspecTaskMultitargeting/ClassLibrary.csproj

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

33
<PropertyGroup>
4-
<TargetFrameworks>net6.0;net48;netstandard2.1</TargetFrameworks>
4+
<TargetFrameworks>net8.0;net48;netstandard2.1</TargetFrameworks>
55
<LangVersion>latest</LangVersion>
66
<Nullable>enable</Nullable>
77
<ApiListOutputBaseDirectory>$(MSBuildThisFileDirectory)api-list</ApiListOutputBaseDirectory>

examples/Smdn.Reflection.ReverseGenerating/Generator/Generator.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<OutputType>Exe</OutputType>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
</PropertyGroup>

0 commit comments

Comments
 (0)