Preview builds: The FrameworkReference 'Microsoft.AspNetCore.App' was not recognized
See original GitHub issueI’m trying to pull in 1.1.0-preview1-10442
into the latest version of Crankier, but when I use any of the preview packages it fails on build:
C:\Program Files\dotnet\sdk\3.0.100-preview7-012821\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(274,5): error NETSDK1073: The FrameworkReference ‘Microsoft.AspNetCore.App’ was not recognized [c:\git\aspnetcore\src\SignalR\perf\benchmarkapps\Crankier\Crankier.csproj
Using 1.0.12
builds but fails at runtime with:
System.MissingMethodException: Method not found: ‘System.Threading.Tasks.Task Microsoft.AspNetCore.Http.Connections.Client.HttpConnection.DisposeAsync()’
Any pointers to unblock me here appreciated - branch here.
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
The FrameworkReference was not recognized - .NET CLI
This error typically means there is a version of a particular FrameworkReference that the SDK cannot find. Try deleting your obj and bin ......
Read more >The FrameworkReference 'Microsoft.AspNetCore.App' was ...
NETSDK1073: The FrameworkReference 'Microsoft. AspNetCore. App' was not recognized. How to fix it?
Read more >Can't build app because of The FrameworkReference ...
Can't build app because of The FrameworkReference 'Microsoft.NETCore.App' was not recognized ... App' was not recognized exception in build console
Read more >The FrameworkReference 'Microsoft.AspNetCore.App' was ...
I'm trying to upgrade my library project from .net core 2.2 to .net core 3.0 using below setup for the .csproj netstandard2.0 latest....
Read more >.NET Core 3.1 - The FrameworkReference 'Microsoft ...
App' was not recognized : Today I upgraded my .NET Core 2.2 application to 3.1. My solution builds fine in Visual Studio but...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ah, I see the PR. It seems as though
solves this also.
@ccic, that perf guide is most informative, thanks for pointing it out.
Thanks @JialinXin, the workaround with
TransitiveFrameworkReference
worked for me - is that reference type documented anywhere?