Repository navigation
RI 15.6 - #2897
Merged
Merged
RI 15.6#2897
Conversation
* Throw an exception if an SDK resolver assembly cannot be loaded or SDK resolver type cannot be instantiated * Use MockLogger instead of MockLoggingService with a StringBuilder * Make SdkResolverLoader more mock-able * More unit tests
Allow an API consumer to explicitly specify a subset of properties, items, and metadata names that they care about, allowing inspection of project state after (partial) builds without the overhead of returning uninteresting state.
In The Old Days, binding redirect generation was set to off-by-default. That has caused a great deal of confusion because it's usually the right thing to do but it's not obvious when you need to do it. Unfortunately, we currently think we can't change the default for all projects, because a user could have been avoiding binding redirects intentionally, making creating them a breaking change. Since no projects currently target .NET Framework 4.7.2 (since it's not released), it is not a breaking change to turn on binding redirects by default for this (and higher) versions--a user must explicitly opt into targeting the framework and thus into this new behavior. A user can still specify ```xml <AutoGenerateBindingRedirects>false</AutoGenerateBindingRedirects> ``` to explicitly opt out of binding redirects for a given project. Closes #2481, in partial support of https://github.com/dotnet/designs/blob/2be39b7e1bc9c4df45b1d51ebb2d1abb0689e4e0/accepted/automatic-redirects-by-default/automatic-redirects-by-default.md
Fixes #2886 by stripping either case of `v` from `$(TargetFrameworkVersion)` in a single call.
Unit tests for GlobalJsonReader, NuGetSdkLogger, and NuGetSdkResolver
Generate binding redirects for .NET 4.7.2+
Catch that and return null otherwise it crashes MSBuild. See #2882.
…te-return Request explicit properties and items in an API build
All the code was here but the attribute was not allowed on the Import element at project parse time for Version or MinimumVersion. This change allows those attributes and rest of the code worked as expected. Added tests for the scenario and a few others.
CPS expects Project.LastEvaluationId to reflect the id of the ongoing, not yet finished evaluation. This invariant regressed in #2748 LoggingService now creates an evaluation build event context separate from sending project started events. This allows the Evaluator to set the evaluation Id on Project before the first evaluation event gets fired.
This doesn't appear to be used and is not copied by the build. No idea how this worked before, sync to the last successful build also does not produce this file. This is failing our official build. MSBuild only references System.Diagnostics.Process for netstandard, not for net46 so appears to have been added by mistake.
AndyGerlicher
approved these changes
Jan 24, 2018
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Let's let this accumulate changes for at least the build we're hoping for today.