Revert "Update support libraries to those that are only lib." #1610
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.
Reverts #1582, which broke ASP.NET Core web apps running on .NET Framework.
A description of the issue, thanks to @eerhardt:
Previously we used to reference both the “ref assembly” to compile and the “runtime assembly” to run. Now, we are no longer referencing the “ref assembly” at compile time. We are compiling and running solely against the “runtime assembly”.
This changed the way the .deps.json file is created. For the assembly it is looking for “Microsoft.Win32.Primitives”, the deps.json file changed from:
In the old file to
We have a pretty well-known bug in the 2.0.0 version of the DependencyModel library that was fixed in 2.0.1 - https://github.com/dotnet/core-setup/issues/2981. Basically, the DependencyModel doesn’t resolve “type: reference” libraries correctly.