Skip to content
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.

Remove project file elements added for WebApiCompatShim in 2.0 #7229

Closed
dougbu opened this issue Jan 10, 2018 · 1 comment
Closed

Remove project file elements added for WebApiCompatShim in 2.0 #7229

dougbu opened this issue Jan 10, 2018 · 1 comment
Labels

Comments

@dougbu
Copy link
Member

dougbu commented Jan 10, 2018

The Microsoft.AspNetCore.Mvc.WebApiCompatShim package now depends on the latest (5.2.4-preview1) Microsoft.AspNet.WebApi.Client package. That dependency includes a new .NET Standard 2.0 assembly. This assembly supports all platforms the Microsoft.AspNetCore.Mvc.WebApiCompatShim package supports and includes the full Web API Client feature set.

When upgrading projects using the Microsoft.AspNetCore.Mvc.WebApiCompatShim package to our nightly builds or the forthcoming 2.1.0-preview1 release, we recommend removing the following elements from the project file. (Of course, some projects may need the elements for other reasons.)

<PackageTargetFallback>$(PackageTargetFallback);portable-net451+win8</PackageTargetFallback>
<DisableImplicitAssetTargetFallback>true</DisableImplicitAssetTargetFallback>

FYI the <PackageTargetFallback> element caused the application to build and run against the Portable Class Library (PCL) assembly from the Microsoft.AspNet.WebApi.Client package.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants