-
Notifications
You must be signed in to change notification settings - Fork 132
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
Fix cli-deps-satellites on windows to not sign the satellites during source-build, since we are using a dummy RoslynTools package. #148
Conversation
@mmitche - do you know why the Windows CI job isn't running? I updated the netci.groovy in my previous commit - 0e41e37#diff-2d212ad84506951c8f928e21aed24580R48. But it doesn't appear to have picked it up. |
@eerhardt The webhook for pushes was missing. Fixed that and ran the generator manually. |
Thanks! |
07d54f1
to
03b23c9
Compare
Let me know what you guys think about the pattern here - Obviously setting the parameter through an EnvironmentVariable will change, but that is prior art that I'm not changing here. |
…source-build, since we are using a dummy RoslynTools package.
03b23c9
to
15b065e
Compare
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 like this pattern - it works toward getting patches included in the sub-repos and leaves the BuildType open to expansion if we ever need it.
Is there a reason you chose this pattern over just |
@jaredpar had suggested this offhand last week and it made sense to me. I can imagine we would also have a "MicrosoftOfficial" build type as well, and individual repos can adjust their build logic as necessary.
MSBuild What approach wouldn't have renaming problems?
I'd like to not have an explosion of properties that source-build is going to pass into the repos. I could go either way, and would like to hear @jaredpar's opinion on it, since he gave me the idea. One other topic is the usage of a prefix |
I guess I've been bitten too many times by case sensitive compares, but I think you are correct here but I know case still matters for file paths in msbuild.
I like the idea of a prefix as well and "DotNet" is fine.
True, I guess like like to think of the property names as more strongly typed then a string value being compared, but in msbuild that isn't the case as it will let you use any property name without complaining.
I don't want there to be an explosion either but for this case I don't expect other options to passed, but I guess only time will tell for certain. |
I talked to Wes more about the above issue. He's convinced me that it is easier to reason about bool properties. One example: when MSBuild tried adding a new value to |
Also, fix nuget-client build to not build for net46 during source-build, since there is no MSBuild ref assemblies for net46 during source-build.
FWIW it has become clear to me that we are going to that there is going to be at least two modes that the source-build repo is going to have to be built in. One is the build everything from source mode (aka distro tarball builds) and the other is you can use pre-existing packages mode (aka official binary shipping product). Hopefully for the latter we don't need to pass any flags and it will just be the normal build but I wanted to at least call out these modes. |
To complete my thought in the last comment I think it may make it clearer if we call this property |
Renamed to |
Merging to continue progress. |
/cc @crummel @dagood @weshaggard @jaredpar