skip to Main Content

Visual Studio Code – Share.RequestAsync() doesn't work on .Net MAUI in Windows 10

On my .Net MAUI app, I need to use Microsoft.Maui.ApplicationModel.DataTransfer.Share to share some text. I followed this documentation: https://learn.microsoft.com/en-us/dotnet/maui/platform-integration/data/share?view=net-maui-7.0&tabs=windows And this is my code: [ICommand] private async Task ShareAsync() { string text = $"Some text"; await Share.RequestAsync(new ShareTextRequest { Text…

VIEW QUESTION
Back To Top
Search