-
Notifications
You must be signed in to change notification settings - Fork 0
/
WORKSPACE
149 lines (142 loc) · 6.87 KB
/
WORKSPACE
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "io_bazel_rules_dotnet",
sha256 = "af09aa7d41c551dd4fb643221102a2ae00dc77d4b5b27a177181e754ae5a65e2",
strip_prefix = "rules_dotnet-586114f290ced11283492b56549664fa15d0c268",
urls = ["https://github.com/bazelbuild/rules_dotnet/archive/586114f290ced11283492b56549664fa15d0c268.zip"],
)
# Previous commit: OK
# http_archive(
# name = "io_bazel_rules_dotnet",
# sha256 = "32fa0276c09bb08869d40b50c66571523a4d36cc9134d3ca69776870ebe7d362",
# strip_prefix = "rules_dotnet-d22f064895b7139edbfdcd5e6fa49be293969147",
# urls = ["https://github.com/bazelbuild/rules_dotnet/archive/d22f064895b7139edbfdcd5e6fa49be293969147.zip"],
# )
load("@io_bazel_rules_dotnet//dotnet:defs.bzl", "core_register_sdk", "net_register_sdk", "mono_register_sdk",
"dotnet_register_toolchains", "dotnet_repositories", "nuget_package")
dotnet_register_toolchains()
dotnet_repositories()
# For .NET Framework:
net_register_sdk(
net_version = "net462",
tools_version = "net462",
)
# (only useful for nuget2bazel)
core_register_sdk("v2.1.502", name = "core_sdk")
# bazel run @io_bazel_rules_dotnet//tools/nuget2bazel:nuget2bazel.exe -- add -l system.runtime.compilerservices.unsafe 4.7.1 -p C:/path/to/rules_dotnet_assembly_references
### Generated by the tool
nuget_package(
name = "system.runtime.compilerservices.unsafe",
package = "system.runtime.compilerservices.unsafe",
version = "4.7.1",
sha256 = "52fca80d5f0ed286371cf1b519b039e9855dbf04c611f8d8479816d4eec82b85",
core_lib = {
"netcoreapp2.0": "ref/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll",
"netcoreapp2.1": "ref/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll",
},
net_lib = {
"net45": "ref/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll",
"net451": "ref/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll",
"net452": "ref/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll",
"net46": "ref/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll",
"net461": "ref/net461/System.Runtime.CompilerServices.Unsafe.dll",
"net462": "ref/net461/System.Runtime.CompilerServices.Unsafe.dll",
"net47": "ref/net461/System.Runtime.CompilerServices.Unsafe.dll",
"net471": "ref/net461/System.Runtime.CompilerServices.Unsafe.dll",
"net472": "ref/net461/System.Runtime.CompilerServices.Unsafe.dll",
"netstandard1.0": "ref/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll",
"netstandard1.1": "ref/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll",
"netstandard1.2": "ref/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll",
"netstandard1.3": "ref/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll",
"netstandard1.4": "ref/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll",
"netstandard1.5": "ref/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll",
"netstandard1.6": "ref/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll",
"netstandard2.0": "ref/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll",
},
mono_lib = "ref/net461/System.Runtime.CompilerServices.Unsafe.dll",
core_files = {
"netcoreapp2.0": [
"lib/netcoreapp2.0/System.Runtime.CompilerServices.Unsafe.dll",
"lib/netcoreapp2.0/System.Runtime.CompilerServices.Unsafe.xml",
],
"netcoreapp2.1": [
"lib/netcoreapp2.0/System.Runtime.CompilerServices.Unsafe.dll",
"lib/netcoreapp2.0/System.Runtime.CompilerServices.Unsafe.xml",
],
},
net_files = {
"net45": [
"lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll",
"lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.xml",
],
"net451": [
"lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll",
"lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.xml",
],
"net452": [
"lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll",
"lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.xml",
],
"net46": [
"lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll",
"lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.xml",
],
"net461": [
"lib/net461/System.Runtime.CompilerServices.Unsafe.dll",
"lib/net461/System.Runtime.CompilerServices.Unsafe.xml",
],
"net462": [
"lib/net461/System.Runtime.CompilerServices.Unsafe.dll",
"lib/net461/System.Runtime.CompilerServices.Unsafe.xml",
],
"net47": [
"lib/net461/System.Runtime.CompilerServices.Unsafe.dll",
"lib/net461/System.Runtime.CompilerServices.Unsafe.xml",
],
"net471": [
"lib/net461/System.Runtime.CompilerServices.Unsafe.dll",
"lib/net461/System.Runtime.CompilerServices.Unsafe.xml",
],
"net472": [
"lib/net461/System.Runtime.CompilerServices.Unsafe.dll",
"lib/net461/System.Runtime.CompilerServices.Unsafe.xml",
],
"netstandard1.0": [
"lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll",
"lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.xml",
],
"netstandard1.1": [
"lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll",
"lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.xml",
],
"netstandard1.2": [
"lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll",
"lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.xml",
],
"netstandard1.3": [
"lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll",
"lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.xml",
],
"netstandard1.4": [
"lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll",
"lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.xml",
],
"netstandard1.5": [
"lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll",
"lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.xml",
],
"netstandard1.6": [
"lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll",
"lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.xml",
],
"netstandard2.0": [
"lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll",
"lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.xml",
],
},
mono_files = [
"lib/net461/System.Runtime.CompilerServices.Unsafe.dll",
"lib/net461/System.Runtime.CompilerServices.Unsafe.xml",
],
)
### End of generated by the tool