dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
15.28k stars 4.73k forks source link

The PipeWriter 'ResponseBodyPipeWriter' does not implement PipeWriter.UnflushedBytes #108075

Open vsfeedback opened 1 month ago

vsfeedback commented 1 month ago

This issue has been moved from a ticket on Developer Community.


Microsoft Visual Studio Enterprise 2022 (64-bit) - Preview
Version 17.12.0 Preview 2.0
Solution: Minimal Web Api and Xunit (.NET 9.0.0-rc.1.24431.7)
WebApiXunit3.zip
The error:
The PipeWriter ‘ResponseBodyPipeWriter’ does not implement PipeWriter.UnflushedBytes

The same code works fine in .NET 8


Original Comments

Feedback Bot on 9/18/2024, 00:30 AM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

Feedback Bot on 9/19/2024, 02:55 AM:

Thank you for sharing your feedback! Our teams prioritize action on product issues with broad customer impact. See details at: https://docs.microsoft.com/en-us/visualstudio/ide/report-a-problem#faq. In case you need answers to common questions or need assisted support, be sure to use https://visualstudio.microsoft.com/vs/support/. We’ll keep you posted on any updates to this feedback.

mkArtakMSFT commented 1 month ago

@BrennanConroy FYI

BrennanConroy commented 1 month ago

Update your Microsoft.AspNetCore.Mvc.Testing reference.

Megasoft2 commented 1 month ago

Hi @BrennanConroy .

Now it works! with Microsoft.AspNetCore.Mvc.Testing 9.0.0-rc.1.24452.1

Thank you so much Sincerely Jorge

WernerMairl commented 1 month ago

same situation here: got the exception => update to 9.0.0-rc.1.24452.1 => solved! BR Werner