diff --git a/csharp/private/frameworks/net20.BUILD b/csharp/private/frameworks/net20.BUILD index ff8baae..d257dfd 100644 --- a/csharp/private/frameworks/net20.BUILD +++ b/csharp/private/frameworks/net20.BUILD @@ -1,7 +1,20 @@ # This file was generated by build\src\D2L.Build.BazelGenerator\FrameworkBuildGenerator\GenerateFrameworkBuildFile.cs # Don't edit it by hand! You should regenerate this if the .NET package gets updated. -load("@d2l_rules_csharp//csharp:defs.bzl", "import_library") +load("@d2l_rules_csharp//csharp:defs.bzl", "import_library", "csharp_library_set") + +csharp_library_set( + name = "StandardReferences", + target_framework = "net20", + deps = [ + "//:mscorlib", + "//:System", + "//:System.Data", + "//:System.Drawing", + "//:System.Xml", + ], + visibility = ["@net//:__pkg__"], +) import_library( name = "Accessibility", diff --git a/csharp/private/frameworks/net40.BUILD b/csharp/private/frameworks/net40.BUILD index fcfd6ab..ded41f4 100644 --- a/csharp/private/frameworks/net40.BUILD +++ b/csharp/private/frameworks/net40.BUILD @@ -1,7 +1,24 @@ # This file was generated by build\src\D2L.Build.BazelGenerator\FrameworkBuildGenerator\GenerateFrameworkBuildFile.cs # Don't edit it by hand! You should regenerate this if the .NET package gets updated. -load("@d2l_rules_csharp//csharp:defs.bzl", "import_library") +load("@d2l_rules_csharp//csharp:defs.bzl", "import_library", "csharp_library_set") + +csharp_library_set( + name = "StandardReferences", + target_framework = "net40", + deps = [ + "//:mscorlib", + "//:System", + "//:System.Core", + "//:System.Data", + "//:System.Drawing", + "//:System.Numerics", + "//:System.Runtime.Serialization", + "//:System.Xml", + "//:System.Xml.Linq", + ], + visibility = ["@net//:__pkg__"] +) import_library( name = "Accessibility", diff --git a/csharp/private/frameworks/net45.BUILD b/csharp/private/frameworks/net45.BUILD index d8f6b37..4af11ec 100644 --- a/csharp/private/frameworks/net45.BUILD +++ b/csharp/private/frameworks/net45.BUILD @@ -1,7 +1,25 @@ # This file was generated by build\src\D2L.Build.BazelGenerator\FrameworkBuildGenerator\GenerateFrameworkBuildFile.cs # Don't edit it by hand! You should regenerate this if the .NET package gets updated. -load("@d2l_rules_csharp//csharp:defs.bzl", "import_library") +load("@d2l_rules_csharp//csharp:defs.bzl", "import_library", "csharp_library_set") + +csharp_library_set( + name = "StandardReferences", + target_framework = "net45", + deps = [ + "//:mscorlib", + "//:System", + "//:System.Core", + "//:System.Data", + "//:System.Drawing", + "//:System.IO.Compression.FileSystem", + "//:System.Numerics", + "//:System.Runtime.Serialization", + "//:System.Xml", + "//:System.Xml.Linq", + ], + visibility = ["@net//:__pkg__"], +) import_library( name = "Accessibility", diff --git a/csharp/private/frameworks/net451.BUILD b/csharp/private/frameworks/net451.BUILD index a0aa169..8249f99 100644 --- a/csharp/private/frameworks/net451.BUILD +++ b/csharp/private/frameworks/net451.BUILD @@ -1,7 +1,25 @@ # This file was generated by build\src\D2L.Build.BazelGenerator\FrameworkBuildGenerator\GenerateFrameworkBuildFile.cs # Don't edit it by hand! You should regenerate this if the .NET package gets updated. -load("@d2l_rules_csharp//csharp:defs.bzl", "import_library") +load("@d2l_rules_csharp//csharp:defs.bzl", "import_library", "csharp_library_set") + +csharp_library_set( + name = "StandardReferences", + target_framework = "net451", + deps = [ + "//:mscorlib", + "//:System", + "//:System.Core", + "//:System.Data", + "//:System.Drawing", + "//:System.IO.Compression.FileSystem", + "//:System.Numerics", + "//:System.Runtime.Serialization", + "//:System.Xml", + "//:System.Xml.Linq", + ], + visibility = ["@net//:__pkg__"], +) import_library( name = "Accessibility", diff --git a/csharp/private/frameworks/net452.BUILD b/csharp/private/frameworks/net452.BUILD index 92c3ca7..b2b8064 100644 --- a/csharp/private/frameworks/net452.BUILD +++ b/csharp/private/frameworks/net452.BUILD @@ -1,7 +1,25 @@ # This file was generated by build\src\D2L.Build.BazelGenerator\FrameworkBuildGenerator\GenerateFrameworkBuildFile.cs # Don't edit it by hand! You should regenerate this if the .NET package gets updated. -load("@d2l_rules_csharp//csharp:defs.bzl", "import_library") +load("@d2l_rules_csharp//csharp:defs.bzl", "import_library", "csharp_library_set") + +csharp_library_set( + name = "StandardReferences", + target_framework = "net452", + deps = [ + "//:mscorlib", + "//:System", + "//:System.Core", + "//:System.Data", + "//:System.Drawing", + "//:System.IO.Compression.FileSystem", + "//:System.Numerics", + "//:System.Runtime.Serialization", + "//:System.Xml", + "//:System.Xml.Linq", + ], + visibility = ["@net//:__pkg__"], +) import_library( name = "Accessibility", diff --git a/csharp/private/frameworks/net46.BUILD b/csharp/private/frameworks/net46.BUILD index 92f0196..81789c4 100644 --- a/csharp/private/frameworks/net46.BUILD +++ b/csharp/private/frameworks/net46.BUILD @@ -1,7 +1,25 @@ # This file was generated by build\src\D2L.Build.BazelGenerator\FrameworkBuildGenerator\GenerateFrameworkBuildFile.cs # Don't edit it by hand! You should regenerate this if the .NET package gets updated. -load("@d2l_rules_csharp//csharp:defs.bzl", "import_library") +load("@d2l_rules_csharp//csharp:defs.bzl", "import_library", "csharp_library_set") + +csharp_library_set( + name = "StandardReferences", + target_framework = "net46", + deps = [ + "//:mscorlib", + "//:System", + "//:System.Core", + "//:System.Data", + "//:System.Drawing", + "//:System.IO.Compression.FileSystem", + "//:System.Numerics", + "//:System.Runtime.Serialization", + "//:System.Xml", + "//:System.Xml.Linq", + ], + visibility = ["@net//:__pkg__"], +) import_library( name = "Accessibility", diff --git a/csharp/private/frameworks/net461.BUILD b/csharp/private/frameworks/net461.BUILD index 72c1b72..47acdf3 100644 --- a/csharp/private/frameworks/net461.BUILD +++ b/csharp/private/frameworks/net461.BUILD @@ -1,7 +1,25 @@ # This file was generated by build\src\D2L.Build.BazelGenerator\FrameworkBuildGenerator\GenerateFrameworkBuildFile.cs # Don't edit it by hand! You should regenerate this if the .NET package gets updated. -load("@d2l_rules_csharp//csharp:defs.bzl", "import_library") +load("@d2l_rules_csharp//csharp:defs.bzl", "import_library", "csharp_library_set") + +csharp_library_set( + name = "StandardReferences", + target_framework = "net461", + deps = [ + "//:mscorlib", + "//:System", + "//:System.Core", + "//:System.Data", + "//:System.Drawing", + "//:System.IO.Compression.FileSystem", + "//:System.Numerics", + "//:System.Runtime.Serialization", + "//:System.Xml", + "//:System.Xml.Linq", + ], + visibility = ["@net//:__pkg__"], +) import_library( name = "Accessibility", diff --git a/csharp/private/frameworks/net462.BUILD b/csharp/private/frameworks/net462.BUILD index 3831b8c..9b840bf 100644 --- a/csharp/private/frameworks/net462.BUILD +++ b/csharp/private/frameworks/net462.BUILD @@ -1,7 +1,25 @@ # This file was generated by build\src\D2L.Build.BazelGenerator\FrameworkBuildGenerator\GenerateFrameworkBuildFile.cs # Don't edit it by hand! You should regenerate this if the .NET package gets updated. -load("@d2l_rules_csharp//csharp:defs.bzl", "import_library") +load("@d2l_rules_csharp//csharp:defs.bzl", "import_library", "csharp_library_set") + +csharp_library_set( + name = "StandardReferences", + target_framework = "net462", + deps = [ + "//:mscorlib", + "//:System", + "//:System.Core", + "//:System.Data", + "//:System.Drawing", + "//:System.IO.Compression.FileSystem", + "//:System.Numerics", + "//:System.Runtime.Serialization", + "//:System.Xml", + "//:System.Xml.Linq", + ], + visibility = ["@net//:__pkg__"], +) import_library( name = "Accessibility", diff --git a/csharp/private/frameworks/net47.BUILD b/csharp/private/frameworks/net47.BUILD index 4fd5ec1..7d26cbc 100644 --- a/csharp/private/frameworks/net47.BUILD +++ b/csharp/private/frameworks/net47.BUILD @@ -1,7 +1,25 @@ # This file was generated by build\src\D2L.Build.BazelGenerator\FrameworkBuildGenerator\GenerateFrameworkBuildFile.cs # Don't edit it by hand! You should regenerate this if the .NET package gets updated. -load("@d2l_rules_csharp//csharp:defs.bzl", "import_library") +load("@d2l_rules_csharp//csharp:defs.bzl", "import_library", "csharp_library_set") + +csharp_library_set( + name = "StandardReferences", + target_framework = "net47", + deps = [ + "//:mscorlib", + "//:System", + "//:System.Core", + "//:System.Data", + "//:System.Drawing", + "//:System.IO.Compression.FileSystem", + "//:System.Numerics", + "//:System.Runtime.Serialization", + "//:System.Xml", + "//:System.Xml.Linq", + ], + visibility = ["@net//:__pkg__"], +) import_library( name = "Accessibility", diff --git a/csharp/private/frameworks/net471.BUILD b/csharp/private/frameworks/net471.BUILD index e624b12..5fd1e60 100644 --- a/csharp/private/frameworks/net471.BUILD +++ b/csharp/private/frameworks/net471.BUILD @@ -1,7 +1,25 @@ # This file was generated by build\src\D2L.Build.BazelGenerator\FrameworkBuildGenerator\GenerateFrameworkBuildFile.cs # Don't edit it by hand! You should regenerate this if the .NET package gets updated. -load("@d2l_rules_csharp//csharp:defs.bzl", "import_library") +load("@d2l_rules_csharp//csharp:defs.bzl", "import_library", "csharp_library_set") + +csharp_library_set( + name = "StandardReferences", + target_framework = "net471", + deps = [ + "//:mscorlib", + "//:System", + "//:System.Core", + "//:System.Data", + "//:System.Drawing", + "//:System.IO.Compression.FileSystem", + "//:System.Numerics", + "//:System.Runtime.Serialization", + "//:System.Xml", + "//:System.Xml.Linq", + ], + visibility = ["@net//:__pkg__"], +) import_library( name = "Accessibility", diff --git a/csharp/private/frameworks/net472.BUILD b/csharp/private/frameworks/net472.BUILD index d9069e1..0efb04c 100644 --- a/csharp/private/frameworks/net472.BUILD +++ b/csharp/private/frameworks/net472.BUILD @@ -1,7 +1,25 @@ # This file was generated by build\src\D2L.Build.BazelGenerator\FrameworkBuildGenerator\GenerateFrameworkBuildFile.cs # Don't edit it by hand! You should regenerate this if the .NET package gets updated. -load("@d2l_rules_csharp//csharp:defs.bzl", "import_library") +load("@d2l_rules_csharp//csharp:defs.bzl", "import_library", "csharp_library_set") + +csharp_library_set( + name = "StandardReferences", + target_framework = "net472", + deps = [ + "//:mscorlib", + "//:System", + "//:System.Core", + "//:System.Data", + "//:System.Drawing", + "//:System.IO.Compression.FileSystem", + "//:System.Numerics", + "//:System.Runtime.Serialization", + "//:System.Xml", + "//:System.Xml.Linq", + ], + visibility = ["@net//:__pkg__"], +) import_library( name = "Accessibility", diff --git a/csharp/private/frameworks/net48.BUILD b/csharp/private/frameworks/net48.BUILD index 452ad60..6442b53 100644 --- a/csharp/private/frameworks/net48.BUILD +++ b/csharp/private/frameworks/net48.BUILD @@ -1,7 +1,25 @@ # This file was generated by build\src\D2L.Build.BazelGenerator\FrameworkBuildGenerator\GenerateFrameworkBuildFile.cs # Don't edit it by hand! You should regenerate this if the .NET package gets updated. -load("@d2l_rules_csharp//csharp:defs.bzl", "import_library") +load("@d2l_rules_csharp//csharp:defs.bzl", "import_library", "csharp_library_set") + +csharp_library_set( + name = "StandardReferences", + target_framework = "net48", + deps = [ + "//:mscorlib", + "//:System", + "//:System.Core", + "//:System.Data", + "//:System.Drawing", + "//:System.IO.Compression.FileSystem", + "//:System.Numerics", + "//:System.Runtime.Serialization", + "//:System.Xml", + "//:System.Xml.Linq", + ], + visibility = ["@net//:__pkg__"], +) import_library( name = "Accessibility", diff --git a/csharp/private/frameworks/netcoreapp21.BUILD b/csharp/private/frameworks/netcoreapp21.BUILD index 2971349..02aaf17 100644 --- a/csharp/private/frameworks/netcoreapp21.BUILD +++ b/csharp/private/frameworks/netcoreapp21.BUILD @@ -1,7 +1,158 @@ # This file was generated by build\src\D2L.Build.BazelGenerator\FrameworkBuildGenerator\GenerateFrameworkBuildFile.cs # Don't edit it by hand! You should regenerate this if the .NET package gets updated. -load("@d2l_rules_csharp//csharp:defs.bzl", "import_library") +load("@d2l_rules_csharp//csharp:defs.bzl", "import_library", "csharp_library_set") + +csharp_library_set( + name = "StandardReferences", + target_framework = "netcoreapp2.1", + deps = [ + "//:Microsoft.CSharp", + "//:Microsoft.VisualBasic", + "//:Microsoft.Win32.Primitives", + "//:mscorlib", + "//:netstandard", + "//:System", + "//:System.AppContext", + "//:System.Buffers", + "//:System.Collections", + "//:System.Collections.Concurrent", + "//:System.Collections.Immutable", + "//:System.Collections.NonGeneric", + "//:System.Collections.Specialized", + "//:System.ComponentModel", + "//:System.ComponentModel.Annotations", + "//:System.ComponentModel.DataAnnotations", + "//:System.ComponentModel.EventBasedAsync", + "//:System.ComponentModel.Primitives", + "//:System.ComponentModel.TypeConverter", + "//:System.Configuration", + "//:System.Console", + "//:System.Core", + "//:System.Data", + "//:System.Data.Common", + "//:System.Diagnostics.Contracts", + "//:System.Diagnostics.Debug", + "//:System.Diagnostics.DiagnosticSource", + "//:System.Diagnostics.FileVersionInfo", + "//:System.Diagnostics.Process", + "//:System.Diagnostics.StackTrace", + "//:System.Diagnostics.TextWriterTraceListener", + "//:System.Diagnostics.Tools", + "//:System.Diagnostics.TraceSource", + "//:System.Diagnostics.Tracing", + "//:System.Drawing", + "//:System.Drawing.Primitives", + "//:System.Dynamic.Runtime", + "//:System.Globalization", + "//:System.Globalization.Calendars", + "//:System.Globalization.Extensions", + "//:System.IO", + "//:System.IO.Compression", + "//:System.IO.Compression.Brotli", + "//:System.IO.Compression.FileSystem", + "//:System.IO.Compression.ZipFile", + "//:System.IO.FileSystem", + "//:System.IO.FileSystem.DriveInfo", + "//:System.IO.FileSystem.Primitives", + "//:System.IO.FileSystem.Watcher", + "//:System.IO.IsolatedStorage", + "//:System.IO.MemoryMappedFiles", + "//:System.IO.Pipes", + "//:System.IO.UnmanagedMemoryStream", + "//:System.Linq", + "//:System.Linq.Expressions", + "//:System.Linq.Parallel", + "//:System.Linq.Queryable", + "//:System.Memory", + "//:System.Net", + "//:System.Net.Http", + "//:System.Net.HttpListener", + "//:System.Net.Mail", + "//:System.Net.NameResolution", + "//:System.Net.NetworkInformation", + "//:System.Net.Ping", + "//:System.Net.Primitives", + "//:System.Net.Requests", + "//:System.Net.Security", + "//:System.Net.ServicePoint", + "//:System.Net.Sockets", + "//:System.Net.WebClient", + "//:System.Net.WebHeaderCollection", + "//:System.Net.WebProxy", + "//:System.Net.WebSockets", + "//:System.Net.WebSockets.Client", + "//:System.Numerics", + "//:System.Numerics.Vectors", + "//:System.ObjectModel", + "//:System.Reflection", + "//:System.Reflection.DispatchProxy", + "//:System.Reflection.Emit", + "//:System.Reflection.Emit.ILGeneration", + "//:System.Reflection.Emit.Lightweight", + "//:System.Reflection.Extensions", + "//:System.Reflection.Metadata", + "//:System.Reflection.Primitives", + "//:System.Reflection.TypeExtensions", + "//:System.Resources.Reader", + "//:System.Resources.ResourceManager", + "//:System.Resources.Writer", + "//:System.Runtime", + "//:System.Runtime.CompilerServices.VisualC", + "//:System.Runtime.Extensions", + "//:System.Runtime.Handles", + "//:System.Runtime.InteropServices", + "//:System.Runtime.InteropServices.RuntimeInformation", + "//:System.Runtime.InteropServices.WindowsRuntime", + "//:System.Runtime.Loader", + "//:System.Runtime.Numerics", + "//:System.Runtime.Serialization", + "//:System.Runtime.Serialization.Formatters", + "//:System.Runtime.Serialization.Json", + "//:System.Runtime.Serialization.Primitives", + "//:System.Runtime.Serialization.Xml", + "//:System.Security", + "//:System.Security.Claims", + "//:System.Security.Cryptography.Algorithms", + "//:System.Security.Cryptography.Csp", + "//:System.Security.Cryptography.Encoding", + "//:System.Security.Cryptography.Primitives", + "//:System.Security.Cryptography.X509Certificates", + "//:System.Security.Principal", + "//:System.Security.SecureString", + "//:System.ServiceModel.Web", + "//:System.ServiceProcess", + "//:System.Text.Encoding", + "//:System.Text.Encoding.Extensions", + "//:System.Text.RegularExpressions", + "//:System.Threading", + "//:System.Threading.Overlapped", + "//:System.Threading.Tasks", + "//:System.Threading.Tasks.Dataflow", + "//:System.Threading.Tasks.Extensions", + "//:System.Threading.Tasks.Parallel", + "//:System.Threading.Thread", + "//:System.Threading.ThreadPool", + "//:System.Threading.Timer", + "//:System.Transactions", + "//:System.Transactions.Local", + "//:System.ValueTuple", + "//:System.Web", + "//:System.Web.HttpUtility", + "//:System.Windows", + "//:System.Xml", + "//:System.Xml.Linq", + "//:System.Xml.ReaderWriter", + "//:System.Xml.Serialization", + "//:System.Xml.XDocument", + "//:System.Xml.XmlDocument", + "//:System.Xml.XmlSerializer", + "//:System.Xml.XPath", + "//:System.Xml.XPath.XDocument", + "//:WindowsBase", + ], + visibility = ["@net//:__pkg__"], +) import_library( name = "Microsoft.CSharp", diff --git a/csharp/private/frameworks/netcoreapp22.BUILD b/csharp/private/frameworks/netcoreapp22.BUILD index 0f0a46d..9ffb765 100644 --- a/csharp/private/frameworks/netcoreapp22.BUILD +++ b/csharp/private/frameworks/netcoreapp22.BUILD @@ -1,7 +1,158 @@ # This file was generated by build\src\D2L.Build.BazelGenerator\FrameworkBuildGenerator\GenerateFrameworkBuildFile.cs # Don't edit it by hand! You should regenerate this if the .NET package gets updated. -load("@d2l_rules_csharp//csharp:defs.bzl", "import_library") +load("@d2l_rules_csharp//csharp:defs.bzl", "import_library", "csharp_library_set") + +csharp_library_set( + name = "StandardReferences", + target_framework = "netcoreapp2.2", + deps = [ + "//:Microsoft.CSharp", + "//:Microsoft.VisualBasic", + "//:Microsoft.Win32.Primitives", + "//:mscorlib", + "//:netstandard", + "//:System", + "//:System.AppContext", + "//:System.Buffers", + "//:System.Collections", + "//:System.Collections.Concurrent", + "//:System.Collections.Immutable", + "//:System.Collections.NonGeneric", + "//:System.Collections.Specialized", + "//:System.ComponentModel", + "//:System.ComponentModel.Annotations", + "//:System.ComponentModel.DataAnnotations", + "//:System.ComponentModel.EventBasedAsync", + "//:System.ComponentModel.Primitives", + "//:System.ComponentModel.TypeConverter", + "//:System.Configuration", + "//:System.Console", + "//:System.Core", + "//:System.Data", + "//:System.Data.Common", + "//:System.Diagnostics.Contracts", + "//:System.Diagnostics.Debug", + "//:System.Diagnostics.DiagnosticSource", + "//:System.Diagnostics.FileVersionInfo", + "//:System.Diagnostics.Process", + "//:System.Diagnostics.StackTrace", + "//:System.Diagnostics.TextWriterTraceListener", + "//:System.Diagnostics.Tools", + "//:System.Diagnostics.TraceSource", + "//:System.Diagnostics.Tracing", + "//:System.Drawing", + "//:System.Drawing.Primitives", + "//:System.Dynamic.Runtime", + "//:System.Globalization", + "//:System.Globalization.Calendars", + "//:System.Globalization.Extensions", + "//:System.IO", + "//:System.IO.Compression", + "//:System.IO.Compression.Brotli", + "//:System.IO.Compression.FileSystem", + "//:System.IO.Compression.ZipFile", + "//:System.IO.FileSystem", + "//:System.IO.FileSystem.DriveInfo", + "//:System.IO.FileSystem.Primitives", + "//:System.IO.FileSystem.Watcher", + "//:System.IO.IsolatedStorage", + "//:System.IO.MemoryMappedFiles", + "//:System.IO.Pipes", + "//:System.IO.UnmanagedMemoryStream", + "//:System.Linq", + "//:System.Linq.Expressions", + "//:System.Linq.Parallel", + "//:System.Linq.Queryable", + "//:System.Memory", + "//:System.Net", + "//:System.Net.Http", + "//:System.Net.HttpListener", + "//:System.Net.Mail", + "//:System.Net.NameResolution", + "//:System.Net.NetworkInformation", + "//:System.Net.Ping", + "//:System.Net.Primitives", + "//:System.Net.Requests", + "//:System.Net.Security", + "//:System.Net.ServicePoint", + "//:System.Net.Sockets", + "//:System.Net.WebClient", + "//:System.Net.WebHeaderCollection", + "//:System.Net.WebProxy", + "//:System.Net.WebSockets", + "//:System.Net.WebSockets.Client", + "//:System.Numerics", + "//:System.Numerics.Vectors", + "//:System.ObjectModel", + "//:System.Reflection", + "//:System.Reflection.DispatchProxy", + "//:System.Reflection.Emit", + "//:System.Reflection.Emit.ILGeneration", + "//:System.Reflection.Emit.Lightweight", + "//:System.Reflection.Extensions", + "//:System.Reflection.Metadata", + "//:System.Reflection.Primitives", + "//:System.Reflection.TypeExtensions", + "//:System.Resources.Reader", + "//:System.Resources.ResourceManager", + "//:System.Resources.Writer", + "//:System.Runtime", + "//:System.Runtime.CompilerServices.VisualC", + "//:System.Runtime.Extensions", + "//:System.Runtime.Handles", + "//:System.Runtime.InteropServices", + "//:System.Runtime.InteropServices.RuntimeInformation", + "//:System.Runtime.InteropServices.WindowsRuntime", + "//:System.Runtime.Loader", + "//:System.Runtime.Numerics", + "//:System.Runtime.Serialization", + "//:System.Runtime.Serialization.Formatters", + "//:System.Runtime.Serialization.Json", + "//:System.Runtime.Serialization.Primitives", + "//:System.Runtime.Serialization.Xml", + "//:System.Security", + "//:System.Security.Claims", + "//:System.Security.Cryptography.Algorithms", + "//:System.Security.Cryptography.Csp", + "//:System.Security.Cryptography.Encoding", + "//:System.Security.Cryptography.Primitives", + "//:System.Security.Cryptography.X509Certificates", + "//:System.Security.Principal", + "//:System.Security.SecureString", + "//:System.ServiceModel.Web", + "//:System.ServiceProcess", + "//:System.Text.Encoding", + "//:System.Text.Encoding.Extensions", + "//:System.Text.RegularExpressions", + "//:System.Threading", + "//:System.Threading.Overlapped", + "//:System.Threading.Tasks", + "//:System.Threading.Tasks.Dataflow", + "//:System.Threading.Tasks.Extensions", + "//:System.Threading.Tasks.Parallel", + "//:System.Threading.Thread", + "//:System.Threading.ThreadPool", + "//:System.Threading.Timer", + "//:System.Transactions", + "//:System.Transactions.Local", + "//:System.ValueTuple", + "//:System.Web", + "//:System.Web.HttpUtility", + "//:System.Windows", + "//:System.Xml", + "//:System.Xml.Linq", + "//:System.Xml.ReaderWriter", + "//:System.Xml.Serialization", + "//:System.Xml.XDocument", + "//:System.Xml.XmlDocument", + "//:System.Xml.XmlSerializer", + "//:System.Xml.XPath", + "//:System.Xml.XPath.XDocument", + "//:WindowsBase", + ], + visibility = ["@net//:__pkg__"], +) import_library( name = "Microsoft.CSharp", diff --git a/csharp/private/frameworks/netcoreapp30.BUILD b/csharp/private/frameworks/netcoreapp30.BUILD index 7851acd..bee6e25 100644 --- a/csharp/private/frameworks/netcoreapp30.BUILD +++ b/csharp/private/frameworks/netcoreapp30.BUILD @@ -1,7 +1,166 @@ # This file was generated by build\src\D2L.Build.BazelGenerator\FrameworkBuildGenerator\GenerateFrameworkBuildFile.cs # Don't edit it by hand! You should regenerate this if the .NET package gets updated. -load("@d2l_rules_csharp//csharp:defs.bzl", "import_library") +load("@d2l_rules_csharp//csharp:defs.bzl", "import_library", "csharp_library_set") + +csharp_library_set( + name = "StandardReferences", + target_framework = "netcoreapp3.0", + deps = [ + "//:Microsoft.CSharp", + "//:Microsoft.VisualBasic", + "//:Microsoft.VisualBasic.Core", + "//:Microsoft.Win32.Primitives", + "//:mscorlib", + "//:netstandard", + "//:System", + "//:System.AppContext", + "//:System.Buffers", + "//:System.Collections", + "//:System.Collections.Concurrent", + "//:System.Collections.Immutable", + "//:System.Collections.NonGeneric", + "//:System.Collections.Specialized", + "//:System.ComponentModel", + "//:System.ComponentModel.Annotations", + "//:System.ComponentModel.DataAnnotations", + "//:System.ComponentModel.EventBasedAsync", + "//:System.ComponentModel.Primitives", + "//:System.ComponentModel.TypeConverter", + "//:System.Configuration", + "//:System.Console", + "//:System.Core", + "//:System.Data", + "//:System.Data.Common", + "//:System.Data.DataSetExtensions", + "//:System.Diagnostics.Contracts", + "//:System.Diagnostics.Debug", + "//:System.Diagnostics.DiagnosticSource", + "//:System.Diagnostics.FileVersionInfo", + "//:System.Diagnostics.Process", + "//:System.Diagnostics.StackTrace", + "//:System.Diagnostics.TextWriterTraceListener", + "//:System.Diagnostics.Tools", + "//:System.Diagnostics.TraceSource", + "//:System.Diagnostics.Tracing", + "//:System.Drawing", + "//:System.Drawing.Primitives", + "//:System.Dynamic.Runtime", + "//:System.Globalization", + "//:System.Globalization.Calendars", + "//:System.Globalization.Extensions", + "//:System.IO", + "//:System.IO.Compression", + "//:System.IO.Compression.Brotli", + "//:System.IO.Compression.FileSystem", + "//:System.IO.Compression.ZipFile", + "//:System.IO.FileSystem", + "//:System.IO.FileSystem.DriveInfo", + "//:System.IO.FileSystem.Primitives", + "//:System.IO.FileSystem.Watcher", + "//:System.IO.IsolatedStorage", + "//:System.IO.MemoryMappedFiles", + "//:System.IO.Pipes", + "//:System.IO.UnmanagedMemoryStream", + "//:System.Linq", + "//:System.Linq.Expressions", + "//:System.Linq.Parallel", + "//:System.Linq.Queryable", + "//:System.Memory", + "//:System.Net", + "//:System.Net.Http", + "//:System.Net.HttpListener", + "//:System.Net.Mail", + "//:System.Net.NameResolution", + "//:System.Net.NetworkInformation", + "//:System.Net.Ping", + "//:System.Net.Primitives", + "//:System.Net.Requests", + "//:System.Net.Security", + "//:System.Net.ServicePoint", + "//:System.Net.Sockets", + "//:System.Net.WebClient", + "//:System.Net.WebHeaderCollection", + "//:System.Net.WebProxy", + "//:System.Net.WebSockets", + "//:System.Net.WebSockets.Client", + "//:System.Numerics", + "//:System.Numerics.Vectors", + "//:System.ObjectModel", + "//:System.Reflection", + "//:System.Reflection.DispatchProxy", + "//:System.Reflection.Emit", + "//:System.Reflection.Emit.ILGeneration", + "//:System.Reflection.Emit.Lightweight", + "//:System.Reflection.Extensions", + "//:System.Reflection.Metadata", + "//:System.Reflection.Primitives", + "//:System.Reflection.TypeExtensions", + "//:System.Resources.Reader", + "//:System.Resources.ResourceManager", + "//:System.Resources.Writer", + "//:System.Runtime", + "//:System.Runtime.CompilerServices.Unsafe", + "//:System.Runtime.CompilerServices.VisualC", + "//:System.Runtime.Extensions", + "//:System.Runtime.Handles", + "//:System.Runtime.InteropServices", + "//:System.Runtime.InteropServices.RuntimeInformation", + "//:System.Runtime.InteropServices.WindowsRuntime", + "//:System.Runtime.Intrinsics", + "//:System.Runtime.Loader", + "//:System.Runtime.Numerics", + "//:System.Runtime.Serialization", + "//:System.Runtime.Serialization.Formatters", + "//:System.Runtime.Serialization.Json", + "//:System.Runtime.Serialization.Primitives", + "//:System.Runtime.Serialization.Xml", + "//:System.Security", + "//:System.Security.Claims", + "//:System.Security.Cryptography.Algorithms", + "//:System.Security.Cryptography.Csp", + "//:System.Security.Cryptography.Encoding", + "//:System.Security.Cryptography.Primitives", + "//:System.Security.Cryptography.X509Certificates", + "//:System.Security.Principal", + "//:System.Security.SecureString", + "//:System.ServiceModel.Web", + "//:System.ServiceProcess", + "//:System.Text.Encoding", + "//:System.Text.Encoding.CodePages", + "//:System.Text.Encoding.Extensions", + "//:System.Text.Encodings.Web", + "//:System.Text.Json", + "//:System.Text.RegularExpressions", + "//:System.Threading", + "//:System.Threading.Channels", + "//:System.Threading.Overlapped", + "//:System.Threading.Tasks", + "//:System.Threading.Tasks.Dataflow", + "//:System.Threading.Tasks.Extensions", + "//:System.Threading.Tasks.Parallel", + "//:System.Threading.Thread", + "//:System.Threading.ThreadPool", + "//:System.Threading.Timer", + "//:System.Transactions", + "//:System.Transactions.Local", + "//:System.ValueTuple", + "//:System.Web", + "//:System.Web.HttpUtility", + "//:System.Windows", + "//:System.Xml", + "//:System.Xml.Linq", + "//:System.Xml.ReaderWriter", + "//:System.Xml.Serialization", + "//:System.Xml.XDocument", + "//:System.Xml.XmlDocument", + "//:System.Xml.XmlSerializer", + "//:System.Xml.XPath", + "//:System.Xml.XPath.XDocument", + "//:WindowsBase", + ], + visibility = ["@net//:__pkg__"], +) import_library( name = "Microsoft.CSharp", diff --git a/csharp/private/frameworks/netstandard20.BUILD b/csharp/private/frameworks/netstandard20.BUILD index a7bcbfb..364bf38 100644 --- a/csharp/private/frameworks/netstandard20.BUILD +++ b/csharp/private/frameworks/netstandard20.BUILD @@ -1,7 +1,128 @@ # This file was generated by build\src\D2L.Build.BazelGenerator\FrameworkBuildGenerator\GenerateFrameworkBuildFile.cs # Don't edit it by hand! You should regenerate this if the .NET package gets updated. -load("@d2l_rules_csharp//csharp:defs.bzl", "import_library") +load("@d2l_rules_csharp//csharp:defs.bzl", "import_library", "csharp_library_set") + +csharp_library_set( + name = "StandardReferences", + target_framework = "netstandard2.0", + deps = [ + "//:Microsoft.Win32.Primitives", + "//:mscorlib", + "//:netstandard", + "//:System", + "//:System.AppContext", + "//:System.Collections", + "//:System.Collections.Concurrent", + "//:System.Collections.NonGeneric", + "//:System.Collections.Specialized", + "//:System.ComponentModel", + "//:System.ComponentModel.Composition", + "//:System.ComponentModel.EventBasedAsync", + "//:System.ComponentModel.Primitives", + "//:System.ComponentModel.TypeConverter", + "//:System.Console", + "//:System.Core", + "//:System.Data", + "//:System.Data.Common", + "//:System.Diagnostics.Contracts", + "//:System.Diagnostics.Debug", + "//:System.Diagnostics.FileVersionInfo", + "//:System.Diagnostics.Process", + "//:System.Diagnostics.StackTrace", + "//:System.Diagnostics.TextWriterTraceListener", + "//:System.Diagnostics.Tools", + "//:System.Diagnostics.TraceSource", + "//:System.Diagnostics.Tracing", + "//:System.Drawing", + "//:System.Drawing.Primitives", + "//:System.Dynamic.Runtime", + "//:System.Globalization", + "//:System.Globalization.Calendars", + "//:System.Globalization.Extensions", + "//:System.IO", + "//:System.IO.Compression", + "//:System.IO.Compression.FileSystem", + "//:System.IO.Compression.ZipFile", + "//:System.IO.FileSystem", + "//:System.IO.FileSystem.DriveInfo", + "//:System.IO.FileSystem.Primitives", + "//:System.IO.FileSystem.Watcher", + "//:System.IO.IsolatedStorage", + "//:System.IO.MemoryMappedFiles", + "//:System.IO.Pipes", + "//:System.IO.UnmanagedMemoryStream", + "//:System.Linq", + "//:System.Linq.Expressions", + "//:System.Linq.Parallel", + "//:System.Linq.Queryable", + "//:System.Net", + "//:System.Net.Http", + "//:System.Net.NameResolution", + "//:System.Net.NetworkInformation", + "//:System.Net.Ping", + "//:System.Net.Primitives", + "//:System.Net.Requests", + "//:System.Net.Security", + "//:System.Net.Sockets", + "//:System.Net.WebHeaderCollection", + "//:System.Net.WebSockets", + "//:System.Net.WebSockets.Client", + "//:System.Numerics", + "//:System.ObjectModel", + "//:System.Reflection", + "//:System.Reflection.Extensions", + "//:System.Reflection.Primitives", + "//:System.Resources.Reader", + "//:System.Resources.ResourceManager", + "//:System.Resources.Writer", + "//:System.Runtime", + "//:System.Runtime.CompilerServices.VisualC", + "//:System.Runtime.Extensions", + "//:System.Runtime.Handles", + "//:System.Runtime.InteropServices", + "//:System.Runtime.InteropServices.RuntimeInformation", + "//:System.Runtime.Numerics", + "//:System.Runtime.Serialization", + "//:System.Runtime.Serialization.Formatters", + "//:System.Runtime.Serialization.Json", + "//:System.Runtime.Serialization.Primitives", + "//:System.Runtime.Serialization.Xml", + "//:System.Security.Claims", + "//:System.Security.Cryptography.Algorithms", + "//:System.Security.Cryptography.Csp", + "//:System.Security.Cryptography.Encoding", + "//:System.Security.Cryptography.Primitives", + "//:System.Security.Cryptography.X509Certificates", + "//:System.Security.Principal", + "//:System.Security.SecureString", + "//:System.ServiceModel.Web", + "//:System.Text.Encoding", + "//:System.Text.Encoding.Extensions", + "//:System.Text.RegularExpressions", + "//:System.Threading", + "//:System.Threading.Overlapped", + "//:System.Threading.Tasks", + "//:System.Threading.Tasks.Parallel", + "//:System.Threading.Thread", + "//:System.Threading.ThreadPool", + "//:System.Threading.Timer", + "//:System.Transactions", + "//:System.ValueTuple", + "//:System.Web", + "//:System.Windows", + "//:System.Xml", + "//:System.Xml.Linq", + "//:System.Xml.ReaderWriter", + "//:System.Xml.Serialization", + "//:System.Xml.XDocument", + "//:System.Xml.XmlDocument", + "//:System.Xml.XmlSerializer", + "//:System.Xml.XPath", + "//:System.Xml.XPath.XDocument", + ], + visibility = ["@net//:__pkg__"], +) import_library( name = "Microsoft.Win32.Primitives", diff --git a/csharp/private/frameworks/netstandard21.BUILD b/csharp/private/frameworks/netstandard21.BUILD index c49f0e1..6b93202 100644 --- a/csharp/private/frameworks/netstandard21.BUILD +++ b/csharp/private/frameworks/netstandard21.BUILD @@ -1,7 +1,136 @@ # This file was generated by build\src\D2L.Build.BazelGenerator\FrameworkBuildGenerator\GenerateFrameworkBuildFile.cs # Don't edit it by hand! You should regenerate this if the .NET package gets updated. -load("@d2l_rules_csharp//csharp:defs.bzl", "import_library") +load("@d2l_rules_csharp//csharp:defs.bzl", "import_library", "csharp_library_set") + +csharp_library_set( + name = "StandardReferences", + target_framework = "netstandard2.1", + deps = [ + "//:Microsoft.Win32.Primitives", + "//:mscorlib", + "//:netstandard", + "//:System", + "//:System.AppContext", + "//:System.Buffers", + "//:System.Collections", + "//:System.Collections.Concurrent", + "//:System.Collections.NonGeneric", + "//:System.Collections.Specialized", + "//:System.ComponentModel", + "//:System.ComponentModel.Composition", + "//:System.ComponentModel.EventBasedAsync", + "//:System.ComponentModel.Primitives", + "//:System.ComponentModel.TypeConverter", + "//:System.Console", + "//:System.Core", + "//:System.Data", + "//:System.Data.Common", + "//:System.Diagnostics.Contracts", + "//:System.Diagnostics.Debug", + "//:System.Diagnostics.FileVersionInfo", + "//:System.Diagnostics.Process", + "//:System.Diagnostics.StackTrace", + "//:System.Diagnostics.TextWriterTraceListener", + "//:System.Diagnostics.Tools", + "//:System.Diagnostics.TraceSource", + "//:System.Diagnostics.Tracing", + "//:System.Drawing", + "//:System.Drawing.Primitives", + "//:System.Dynamic.Runtime", + "//:System.Globalization", + "//:System.Globalization.Calendars", + "//:System.Globalization.Extensions", + "//:System.IO", + "//:System.IO.Compression", + "//:System.IO.Compression.FileSystem", + "//:System.IO.Compression.ZipFile", + "//:System.IO.FileSystem", + "//:System.IO.FileSystem.DriveInfo", + "//:System.IO.FileSystem.Primitives", + "//:System.IO.FileSystem.Watcher", + "//:System.IO.IsolatedStorage", + "//:System.IO.MemoryMappedFiles", + "//:System.IO.Pipes", + "//:System.IO.UnmanagedMemoryStream", + "//:System.Linq", + "//:System.Linq.Expressions", + "//:System.Linq.Parallel", + "//:System.Linq.Queryable", + "//:System.Memory", + "//:System.Net", + "//:System.Net.Http", + "//:System.Net.NameResolution", + "//:System.Net.NetworkInformation", + "//:System.Net.Ping", + "//:System.Net.Primitives", + "//:System.Net.Requests", + "//:System.Net.Security", + "//:System.Net.Sockets", + "//:System.Net.WebHeaderCollection", + "//:System.Net.WebSockets", + "//:System.Net.WebSockets.Client", + "//:System.Numerics", + "//:System.Numerics.Vectors", + "//:System.ObjectModel", + "//:System.Reflection", + "//:System.Reflection.DispatchProxy", + "//:System.Reflection.Emit", + "//:System.Reflection.Emit.ILGeneration", + "//:System.Reflection.Emit.Lightweight", + "//:System.Reflection.Extensions", + "//:System.Reflection.Primitives", + "//:System.Resources.Reader", + "//:System.Resources.ResourceManager", + "//:System.Resources.Writer", + "//:System.Runtime", + "//:System.Runtime.CompilerServices.VisualC", + "//:System.Runtime.Extensions", + "//:System.Runtime.Handles", + "//:System.Runtime.InteropServices", + "//:System.Runtime.InteropServices.RuntimeInformation", + "//:System.Runtime.Numerics", + "//:System.Runtime.Serialization", + "//:System.Runtime.Serialization.Formatters", + "//:System.Runtime.Serialization.Json", + "//:System.Runtime.Serialization.Primitives", + "//:System.Runtime.Serialization.Xml", + "//:System.Security.Claims", + "//:System.Security.Cryptography.Algorithms", + "//:System.Security.Cryptography.Csp", + "//:System.Security.Cryptography.Encoding", + "//:System.Security.Cryptography.Primitives", + "//:System.Security.Cryptography.X509Certificates", + "//:System.Security.Principal", + "//:System.Security.SecureString", + "//:System.ServiceModel.Web", + "//:System.Text.Encoding", + "//:System.Text.Encoding.Extensions", + "//:System.Text.RegularExpressions", + "//:System.Threading", + "//:System.Threading.Overlapped", + "//:System.Threading.Tasks", + "//:System.Threading.Tasks.Extensions", + "//:System.Threading.Tasks.Parallel", + "//:System.Threading.Thread", + "//:System.Threading.ThreadPool", + "//:System.Threading.Timer", + "//:System.Transactions", + "//:System.ValueTuple", + "//:System.Web", + "//:System.Windows", + "//:System.Xml", + "//:System.Xml.Linq", + "//:System.Xml.ReaderWriter", + "//:System.Xml.Serialization", + "//:System.Xml.XDocument", + "//:System.Xml.XmlDocument", + "//:System.Xml.XmlSerializer", + "//:System.Xml.XPath", + "//:System.Xml.XPath.XDocument", + ], + visibility = ["@net//:__pkg__"], +) import_library( name = "Microsoft.Win32.Primitives", diff --git a/csharp/private/net/BUILD b/csharp/private/net/BUILD index 3297c92..c061472 100644 --- a/csharp/private/net/BUILD +++ b/csharp/private/net/BUILD @@ -1,5 +1,27 @@ load("@d2l_rules_csharp//csharp/private:rules/imports.bzl", "import_multiframework_library") +import_multiframework_library( + name = "StandardReferences", + net20 = "@net20//:StandardReferences", + net40 = "@net40//:StandardReferences", + net45 = "@net45//:StandardReferences", + net451 = "@net451//:StandardReferences", + net452 = "@net452//:StandardReferences", + net46 = "@net46//:StandardReferences", + net461 = "@net461//:StandardReferences", + net462 = "@net462//:StandardReferences", + net47 = "@net47//:StandardReferences", + net471 = "@net471//:StandardReferences", + net472 = "@net472//:StandardReferences", + net48 = "@net48//:StandardReferences", + netstandard2_0 = "@NetStandard.Library//:StandardReferences", + netstandard2_1 = "@NetStandard.Library.Ref//:StandardReferences", + netcoreapp2_1 = "@netcoreapp2.1//:StandardReferences", + netcoreapp2_2 = "@netcoreapp2.2//:StandardReferences", + netcoreapp3_0 = "@netcoreapp3.0//:StandardReferences", + visibility = ["//visibility:public"], +) + import_multiframework_library( name = "Accessibility", net20 = "@net20//:Accessibility", diff --git a/csharp/private/rules/binary.bzl b/csharp/private/rules/binary.bzl index 945fb09..1f6df09 100644 --- a/csharp/private/rules/binary.bzl +++ b/csharp/private/rules/binary.bzl @@ -99,7 +99,7 @@ csharp_binary = rule( ), "_stdrefs": attr.label( doc = "The standard set of assemblies to reference.", - default = "@net//:mscorlib", # TODO: change to @net//:StandardReferences once it exists + default = "@net//:StandardReferences", ), "deps": attr.label_list( doc = "Other C# libraries, binaries, or imported DLLs", diff --git a/csharp/private/rules/library.bzl b/csharp/private/rules/library.bzl index a8b854b..3d65aa0 100644 --- a/csharp/private/rules/library.bzl +++ b/csharp/private/rules/library.bzl @@ -85,7 +85,7 @@ csharp_library = rule( ), "_stdrefs": attr.label( doc = "The standard set of assemblies to reference.", - default = "@net//:mscorlib", # TODO: change to @net//:StandardReferences once it exists + default = "@net//:StandardReferences", ), "deps": attr.label_list( doc = "Other C# libraries, binaries, or imported DLLs", diff --git a/csharp/private/rules/nunit_test.bzl b/csharp/private/rules/nunit_test.bzl index b4076a2..0aaea4a 100644 --- a/csharp/private/rules/nunit_test.bzl +++ b/csharp/private/rules/nunit_test.bzl @@ -95,7 +95,7 @@ csharp_nunit_test = rule( ), "_stdrefs": attr.label( doc = "The standard set of assemblies to reference.", - default = "@net//:mscorlib", # TODO: change to @net//:StandardReferences once it exists + default = "@net//:StandardReferences", ), "deps": attr.label_list( doc = "Other C# libraries, binaries, or imported DLLs", diff --git a/examples/basic/BUILD b/examples/basic/BUILD index 2a70f5b..2f82641 100644 --- a/examples/basic/BUILD +++ b/examples/basic/BUILD @@ -28,5 +28,4 @@ csharp_library( name = "lib", srcs = ["lib.cs"], target_frameworks = ["net472"], - deps = ["@net//:System.Linq"], )