diff --git a/Src/Basic.Reference.Assemblies.Net461/Basic.Reference.Assemblies.Net461.csproj b/Src/Basic.Reference.Assemblies.Net461/Basic.Reference.Assemblies.Net461.csproj index 9ef9ece..e0386b9 100644 --- a/Src/Basic.Reference.Assemblies.Net461/Basic.Reference.Assemblies.Net461.csproj +++ b/Src/Basic.Reference.Assemblies.Net461/Basic.Reference.Assemblies.Net461.csproj @@ -8,6 +8,7 @@ + diff --git a/Src/Basic.Reference.Assemblies.Net461/Generated.cs b/Src/Basic.Reference.Assemblies.Net461/Generated.cs index 8668cb1..323197c 100644 --- a/Src/Basic.Reference.Assemblies.Net461/Generated.cs +++ b/Src/Basic.Reference.Assemblies.Net461/Generated.cs @@ -4476,6 +4476,11 @@ public static class ExtraReferenceInfos /// The for System.Threading.Tasks.Extensions.dll /// public static ReferenceInfo SystemThreadingTasksExtensions => new ReferenceInfo("System.Threading.Tasks.Extensions.dll", Resources.SystemThreadingTasksExtensions, Net461.ExtraReferences.SystemThreadingTasksExtensions, global::System.Guid.Parse("bc890e4e-a34f-463c-8fd9-60f43c8beb88")); + + /// + /// The for System.ValueTuple.dll + /// + public static ReferenceInfo SystemValueTuple => new ReferenceInfo("System.ValueTuple.dll", Resources.SystemValueTuple, Net461.ExtraReferences.SystemValueTuple, global::System.Guid.Parse("1aa5ee86-d143-43bd-94ec-c0749ff98222")); private static ImmutableArray _all; public static ImmutableArray All { @@ -4486,6 +4491,7 @@ public static ImmutableArray All _all = [ SystemThreadingTasksExtensions, + SystemValueTuple, ]; } return _all; @@ -4517,6 +4523,23 @@ public static PortableExecutableReference SystemThreadingTasksExtensions } } + private static PortableExecutableReference? _SystemValueTuple; + + /// + /// The for System.ValueTuple.dll + /// + public static PortableExecutableReference SystemValueTuple + { + get + { + if (_SystemValueTuple is null) + { + _SystemValueTuple = AssemblyMetadata.CreateFromImage(Resources.SystemValueTuple).GetReference(filePath: "System.ValueTuple.dll", display: "System.ValueTuple (net461)"); + } + return _SystemValueTuple; + } + } + private static ImmutableArray _all; public static ImmutableArray All { @@ -4527,6 +4550,7 @@ public static ImmutableArray All _all = [ SystemThreadingTasksExtensions, + SystemValueTuple, ]; } return _all; @@ -5649,6 +5673,12 @@ public static class Resources public static byte[] SystemThreadingTasksExtensions => ResourceLoader.GetOrCreateResource(ref _SystemThreadingTasksExtensions, "net461.System.Threading.Tasks.Extensions"); private static byte[]? _SystemThreadingTasksExtensions; + /// + /// The image bytes for System.ValueTuple.dll + /// + public static byte[] SystemValueTuple => ResourceLoader.GetOrCreateResource(ref _SystemValueTuple, "net461.System.ValueTuple"); + private static byte[]? _SystemValueTuple; + } } diff --git a/Src/Basic.Reference.Assemblies.Net461/Generated.targets b/Src/Basic.Reference.Assemblies.Net461/Generated.targets index 40fd5f5..ef17a87 100644 --- a/Src/Basic.Reference.Assemblies.Net461/Generated.targets +++ b/Src/Basic.Reference.Assemblies.Net461/Generated.targets @@ -740,5 +740,9 @@ net461.System.Threading.Tasks.Extensions Resources\net461\System.Threading.Tasks.Extensions.dll + + net461.System.ValueTuple + Resources\net461\System.ValueTuple.dll + diff --git a/Src/Generate/Program.cs b/Src/Generate/Program.cs index 077a67b..be25fa6 100644 --- a/Src/Generate/Program.cs +++ b/Src/Generate/Program.cs @@ -166,7 +166,10 @@ void Net461() var content = GetGeneratedContent( "Net461", [@"microsoft.netframework.referenceassemblies.net461\1.0.3\build\.NETFramework\v4.6.1"], - [@"system.threading.tasks.extensions\4.5.4\lib\net461"]); + [ + @"system.threading.tasks.extensions\4.5.4\lib\net461", + @"system.valuetuple\4.5.0\lib\net461" + ]); var targetDir = Path.Combine(srcPath, "Basic.Reference.Assemblies.Net461"); File.WriteAllText(Path.Combine(targetDir, "Generated.cs"), content.CodeContent, encoding); File.WriteAllText(Path.Combine(targetDir, "Generated.targets"), content.TargetsContent, encoding);