aspnetcore/build
Nate McMaster fe20f9240d Fix #3503 - update buildtools dependency on DependencyModel to 2.1.0
The 2.0 version of the Microsoft.Extensions.DependencyModel does not
support the assembly/file version metadata. We must have at least 2.1.

Between 2.1.6 and 2.1.7, we switched the build to use MSBuild.exe
("full" MSBuild) instead of `dotnet msbuild` ("core" MSBuild). MSBuild
has different assembly loaders behaviors in core vs full. By switching
MSBuild types, we were also unintentionally switching the version of
Microsoft.Extensions.DependencyModel.dll that was being used by our build
 task from 2.1 back down to 2.0.

The reason we didn't discover this in earlier 2.1.x patches is that
building on msbuild core automatically upgraded our build tasks to
Microsoft.Extensions.DependencyModel.dll, Version=2.1.0.0. This happens
because of differences in the way .NET Core and MSBuild handles
assemblies with the same ID and different versions, and differences in
the layout of MSBuild and the .NET Core CLI.

In the end, this happened because we didn't have test coverage. MSBuild
and custom tasks burned asagain, but we should have just had unit tests
all along, which would have uncovered this regression as soon as we
switched to msbuild.exe.
2019-01-15 13:39:01 -08:00
..
docker Ensure .NET Core runtimes are install in alpine builds to tests can run 2018-07-03 12:26:20 -07:00
tasks Remove netcoreapp2.0 test TFMs (#6461) 2019-01-08 11:20:09 -08:00
tools Replace PackNuspec with a dummy .csproj file 2018-12-05 17:59:29 -08:00
PackageArchive.targets Fix 2.1 build issues and remove obsolete build code (#4443) 2018-12-05 17:01:02 -08:00
Publish.targets Conditionally skip patch.zip files which way not be produced in servicing builds (#4481) 2018-12-06 14:06:42 -08:00
RepositoryBuild.targets Fix 2.1 build issues and remove obsolete build code (#4443) 2018-12-05 17:01:02 -08:00
SharedFx.props Backport cleanups to infrastructure 2018-10-12 16:36:34 -07:00
SharedFx.targets Build branch logging SE in main build (#6312) 2019-01-14 08:42:53 -08:00
SharedFxInstaller.targets Backport cleanups to infrastructure 2018-10-12 16:36:34 -07:00
artifacts.props Build branch logging SE in main build (#6312) 2019-01-14 08:42:53 -08:00
buildorder.props Make Auth Samples Project Ref (#6557) 2019-01-15 13:12:54 -08:00
dependencies.props Fix #3503 - update buildtools dependency on DependencyModel to 2.1.0 2019-01-15 13:39:01 -08:00
external-dependencies.props Replace .Sources package references with local code (#4801) 2018-12-14 08:36:36 -08:00
repo.props Build branch logging SE in main build (#6312) 2019-01-14 08:42:53 -08:00
repo.targets Build branch logging SE in main build (#6312) 2019-01-14 08:42:53 -08:00
runtimes.props Upgrade to .NET Core 2.1.6-servicing-27017-02 2018-10-18 13:48:06 -07:00
sources.props Reorganize source code in preparation to move into aspnet/AspNetCore 2018-12-03 15:52:23 -08:00
submodules.props Make Auth Samples Project Ref (#6557) 2019-01-15 13:12:54 -08:00