-
Notifications
You must be signed in to change notification settings - Fork 10.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Microsoft.AspNetCore.Connections.Abstractions referenced version mismatch to System.IO.Pipelines #19548
Comments
@dotnet/aspnet-build |
@Kaelum do you have an explicit package reference to |
@Pilchie no, I didn't have an explicit reference, and I was hesitant to add one due to an issue in the past that was made worse by doing so. Since it was an issue of not being able to find the correct version of the library, as opposed to finding the library at all, I didn't think that would work. Anywho, I added an explicit reference to the project that wasn't building, and it seems to be working now. I'll need to remember to remove the reference, once the Runtime/SDK packages are fixed. Thanks |
Reopening this for those who have the same issue, until this is actually fixed in the packaging. |
Well, it sounds right to me 😈 |
@Pilchie I was in the process of trying to create an application that exhibits the behavior, and I wasn't having any luck. So, I decided to open the Object Browser to see where the |
@ericstj - any ideas about the packaging of System.IO.Pipelines here? |
So just trying to read through the original scenario. This is an app referencing The app also references some other package which brings in a lower version of System.IO.Pipelines. Since ASP.NET's ref pack was missing its copy, this older package's copy makes it to the compiler.
It actually looks to me like the compiler sees an indirect reference to a higher version, and a direct reference to the lower version. This should be fixed when you bring System.IO.Pipelines back into the refpack: #19133 To workaround the bug add a direct reference to System.IO.Pipelines 4.7.0 or newer to your project. |
Ok, so it sounds like it is the same root cause and we can probably close this as a duplicate of #19133 |
Closing as a duplicate of the other issue. |
Simply upgrading from SDK 3.1.101 to SDK 3.1.102 causes the following build error in an ASP.NET Core application subassembly:
The application has a dual HTTP/TCP interface, where a custom middleware class manages the HTTP interface, and a custom ConnectionHandler manages the TCP interface (directly accessing the pipelines). For now, I'm using a global.json file to force the use of SDK 3.1.101.
The text was updated successfully, but these errors were encountered: