Skip to content

Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks version 1.5.0

Latest
Compare
Choose a tag to compare
@smdn smdn released this 14 Dec 12:39
· 1 commit to main since this release
c012d30

Released package

Release notes

The full release notes are available at gist.

Change log

Change log in this release:

API changes

API changes in this release:
diff --git a/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-net6.0.apilist.cs b/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-net6.0.apilist.cs
deleted file mode 100644
index 22a7295..0000000
--- a/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-net6.0.apilist.cs
+++ /dev/null
@@ -1,46 +0,0 @@
-// Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.dll (Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.4.1)
-//   Name: Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks
-//   AssemblyVersion: 1.4.1.0
-//   InformationalVersion: 1.4.1+ab57e3a1a2b0640497492ded79982ed017bc9d8d
-//   TargetFramework: .NETCoreApp,Version=v6.0
-//   Configuration: Release
-//   Referenced assemblies:
-//     Microsoft.Build.Framework, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-//     Microsoft.Build.Utilities.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-//     Microsoft.Extensions.Logging.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
-//     Smdn.Reflection.ReverseGenerating, Version=1.3.0.0, Culture=neutral
-//     Smdn.Reflection.ReverseGenerating.ListApi.Core, Version=1.3.1.0, Culture=neutral
-//     System.Collections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-//     System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-//     System.Text.Encoding.Extensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-#nullable enable annotations
-
-using Microsoft.Build.Framework;
-using Microsoft.Build.Utilities;
-
-namespace Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks {
-  public class GenerateApiList : Task {
-    public GenerateApiList() {}
-
-    [Required]
-    public ITaskItem[]? Assemblies { get; set; }
-    public bool GenerateAssemblyInfo { get; set; }
-    public bool GenerateAttributeWithNamedArguments { get; set; }
-    public bool GenerateEmbeddedResources { get; set; }
-    public bool GenerateFullTypeName { get; set; }
-    public bool GenerateLanguagePrimitiveType { get; set; }
-    public string? GenerateMethodBody { get; set; }
-    public bool GenerateNullableAnnotations { get; set; }
-    public bool GenerateReferencedAssemblies { get; set; }
-    public bool GenerateStaticMembersFirst { get; set; }
-    public bool GenerateTypeNameWithDeclaringTypeName { get; set; }
-    public bool GenerateValueWithDefaultLiteral { get; set; }
-    [Output]
-    public ITaskItem[]? GeneratedFiles { get; }
-    public bool ThrowIfForwardedTypesCouldNotLoaded { get; set; }
-
-    public override bool Execute() {}
-  }
-}
-// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.4.1.0.
-// Smdn.Reflection.ReverseGenerating.ListApi.Core v1.3.1.0 (https://github.com/smdn/Smdn.Reflection.ReverseGenerating)
diff --git a/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-net8.0.apilist.cs b/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-net8.0.apilist.cs
index c0fe0ff..52088cd 100644
--- a/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-net8.0.apilist.cs
+++ b/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-net8.0.apilist.cs
@@ -1,46 +1,46 @@
-// Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.dll (Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.4.1)
+// Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.dll (Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.5.0)
 //   Name: Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks
-//   AssemblyVersion: 1.4.1.0
-//   InformationalVersion: 1.4.1+ab57e3a1a2b0640497492ded79982ed017bc9d8d
+//   AssemblyVersion: 1.5.0.0
+//   InformationalVersion: 1.5.0+46795e683ad7589956c2248284abae8fee6923cb
 //   TargetFramework: .NETCoreApp,Version=v8.0
 //   Configuration: Release
 //   Referenced assemblies:
 //     Microsoft.Build.Framework, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
 //     Microsoft.Build.Utilities.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
 //     Microsoft.Extensions.Logging.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
 //     Smdn.Reflection.ReverseGenerating, Version=1.3.0.0, Culture=neutral
 //     Smdn.Reflection.ReverseGenerating.ListApi.Core, Version=1.3.1.0, Culture=neutral
 //     System.Collections, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
 //     System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
 //     System.Text.Encoding.Extensions, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
 #nullable enable annotations
 
 using Microsoft.Build.Framework;
 using Microsoft.Build.Utilities;
 
 namespace Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks {
   public class GenerateApiList : Task {
     public GenerateApiList() {}
 
     [Required]
     public ITaskItem[]? Assemblies { get; set; }
     public bool GenerateAssemblyInfo { get; set; }
     public bool GenerateAttributeWithNamedArguments { get; set; }
     public bool GenerateEmbeddedResources { get; set; }
     public bool GenerateFullTypeName { get; set; }
     public bool GenerateLanguagePrimitiveType { get; set; }
     public string? GenerateMethodBody { get; set; }
     public bool GenerateNullableAnnotations { get; set; }
     public bool GenerateReferencedAssemblies { get; set; }
     public bool GenerateStaticMembersFirst { get; set; }
     public bool GenerateTypeNameWithDeclaringTypeName { get; set; }
     public bool GenerateValueWithDefaultLiteral { get; set; }
     [Output]
     public ITaskItem[]? GeneratedFiles { get; }
     public bool ThrowIfForwardedTypesCouldNotLoaded { get; set; }
 
     public override bool Execute() {}
   }
 }
-// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.4.1.0.
+// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.5.0.0.
 // Smdn.Reflection.ReverseGenerating.ListApi.Core v1.3.1.0 (https://github.com/smdn/Smdn.Reflection.ReverseGenerating)

Full changes

Full changes in this release:
diff --git a/src/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/GenerateMSBuildTargetsFile.targets b/src/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/GenerateMSBuildTargetsFile.targets
index 57a4ddf..a88873b 100644
--- a/src/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/GenerateMSBuildTargetsFile.targets
+++ b/src/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/GenerateMSBuildTargetsFile.targets
@@ -23,18 +23,14 @@ SPDX-License-Identifier: MIT
       <!-- TODO: MSBuildRuntimeType == Full, Mono and otherwise -->
       <GenerateMSBuildTargetsFileLines><![CDATA[
 <Project>
-  <ImportGroup Condition=" '%24(MSBuildRuntimeType)' == 'Core' and %24([System.Runtime.InteropServices.RuntimeInformation]::FrameworkDescription.StartsWith('.NET 6.')) ">
-    <!-- .NET 6.x -->
-    @(TaskFiles->WithMetadataValue('TargetFramework', 'net6.0')->'%(ImportLine)', '%0D%0A    ')
-  </ImportGroup>
-  <ImportGroup Condition=" '%24(MSBuildRuntimeType)' == 'Core' and %24([System.Runtime.InteropServices.RuntimeInformation]::FrameworkDescription.StartsWith('.NET 7.')) ">
-    <!-- .NET 7.x -->
-    @(TaskFiles->WithMetadataValue('TargetFramework', 'net6.0')->'%(ImportLine)', '%0D%0A    ')
-  </ImportGroup>
   <ImportGroup Condition=" '%24(MSBuildRuntimeType)' == 'Core' and %24([System.Runtime.InteropServices.RuntimeInformation]::FrameworkDescription.StartsWith('.NET 8.')) ">
     <!-- .NET 8.x -->
     @(TaskFiles->WithMetadataValue('TargetFramework', 'net8.0')->'%(ImportLine)', '%0D%0A    ')
   </ImportGroup>
+  <ImportGroup Condition=" '%24(MSBuildRuntimeType)' == 'Core' and %24([System.Runtime.InteropServices.RuntimeInformation]::FrameworkDescription.StartsWith('.NET 9.')) ">
+    <!-- .NET 9.x (use files that target .NET 8) -->
+    @(TaskFiles->WithMetadataValue('TargetFramework', 'net8.0')->'%(ImportLine)', '%0D%0A    ')
+  </ImportGroup>
 </Project>
       ]]></GenerateMSBuildTargetsFileLines>
     </PropertyGroup>
diff --git a/src/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.csproj b/src/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.csproj
index c54065c..a9d3842 100644
--- a/src/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.csproj
+++ b/src/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.csproj
@@ -4,9 +4,9 @@ SPDX-License-Identifier: MIT
 -->
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <TargetFrameworks>net8.0;net6.0</TargetFrameworks>
+    <TargetFrameworks>net8.0</TargetFrameworks>
     <RootNamespace>Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks</RootNamespace>
-    <VersionPrefix>1.4.1</VersionPrefix>
+    <VersionPrefix>1.5.0</VersionPrefix>
     <VersionSuffix></VersionSuffix>
     <RootNamespace/> <!-- empty the root namespace so that the namespace is determined only by the directory name, for code style rule IDE0030 -->
     <Nullable>enable</Nullable>
diff --git a/src/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/private/Smdn.Reflection.ReverseGenerating.ListApi.Core.csproj b/src/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/private/Smdn.Reflection.ReverseGenerating.ListApi.Core.csproj
index 34aa0b8..dea6e32 100644
--- a/src/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/private/Smdn.Reflection.ReverseGenerating.ListApi.Core.csproj
+++ b/src/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/private/Smdn.Reflection.ReverseGenerating.ListApi.Core.csproj
@@ -4,7 +4,7 @@ SPDX-License-Identifier: MIT
 -->
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <TargetFrameworks>net8.0;net6.0</TargetFrameworks>
+    <TargetFrameworks>net8.0</TargetFrameworks>
   </PropertyGroup>
 
   <Import Project="..\..\Smdn.Reflection.ReverseGenerating.ListApi.Core\Smdn.Reflection.ReverseGenerating.ListApi.Core.Common.props" />

Notes

Full Changelog: releases/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.4.1...releases/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.5.0