-
Notifications
You must be signed in to change notification settings - Fork 5
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
define @net//:StandardReferences #82
Conversation
Can successfully build netstandard* and netcoreapp*, but not framework
|
@@ -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", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So good!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wish I could approve this twice!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, you can!
csharp/private/actions/assembly.bzl
Outdated
@@ -183,6 +183,7 @@ def AssemblyAction( | |||
out = out_file, | |||
refout = refout, | |||
pdb = pdb, | |||
native_dlls = None, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, this is obviously wrong (as evidenced by CI). I just got as for as getting bazel build :net20
in every_framework_empty
happy
9829f0d
to
46d6757
Compare
So there are native DLLs that I think we just want to show up in runfiles (e.g. libgit2) but not at compile time. This one is weird because we don't want it in runfiles (it'll come from the GAC in practice) but we do need it at compile time... I think it's reasonable to do this now but we'll probably need to revisit things later. I'll open up an issue to track this. |
707c664
to
2879793
Compare
2879793
to
b149056
Compare
Closes: #41
EnterpriseServices.Wrapper