Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Framework package updates #1308

Merged
merged 2 commits into from
Nov 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ static FrameworkPackages()
{
NETStandard20.Register();
NETStandard21.Register();
NET461.Register();
NETCoreApp20.Register();
NETCoreApp21.Register();
NETCoreApp22.Register();
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
namespace Microsoft.ComponentDetection.Detectors.NuGet;

using static global::NuGet.Frameworks.FrameworkConstants.CommonFrameworks;

/// <summary>
/// Framework packages for .NETFramework,Version=v4.6.1.
/// </summary>
internal partial class FrameworkPackages
{
internal static class NET461
{
internal static FrameworkPackages Instance { get; } = new(Net461, DefaultFrameworkKey, NETStandard20.Instance);

internal static void Register() => FrameworkPackages.Register(Instance);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ internal static class NETCoreApp20
internal static FrameworkPackages Instance { get; } = new(NetCoreApp20, FrameworkNames.NetCoreApp, NETStandard20.Instance)
{
{ "Microsoft.CSharp", "4.4.0" },
{ "Microsoft.NETCore.App", "2.0.0" },
{ "Microsoft.VisualBasic", "10.2.0" },
{ "Microsoft.Win32.Registry", "4.4.0" },
{ "runtime.any.System.Collections", "4.3.0" },
Expand Down Expand Up @@ -182,6 +183,7 @@ internal static class NETCoreApp20
{ "System.Numerics.Vectors", "4.4.0" },
{ "System.ObjectModel", "4.3.0" },
{ "System.Private.DataContractSerialization", "4.3.0" },
{ "System.Private.Uri", "4.3.0" },
{ "System.Reflection.DispatchProxy", "4.4.0" },
{ "System.Reflection.Emit", "4.7.0" },
{ "System.Reflection.Emit.ILGeneration", "4.7.0" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ internal static class NETCoreApp21
internal static FrameworkPackages Instance { get; } = new(NetCoreApp21, FrameworkNames.NetCoreApp, NETCoreApp20.Instance)
{
{ "Microsoft.CSharp", "4.5.0" },
{ "Microsoft.NETCore.App", "2.1.0" },
{ "Microsoft.VisualBasic", "10.3.0" },
{ "Microsoft.Win32.Registry", "4.5.0" },
{ "System.Buffers", "4.5.0" },
Expand Down
Loading