Can't launch my app because of 'you must install .NET Desktop Runtime' popup
Hi everyone, I'm trying to run my application I've just installed on my computer but I'm having an issue with my .NET Runtime. I've been debugging this application in Visual Studio Community 2022 v17.10.2 and it works fine when I start it through Visual…
How to block same value section on for each loop in XSLT 1
Hi Team, Currently we have a created xslt map with foreach to block looping using single value(PartNumbers) - <PartNumbers>099-923-G</PartNumbers>, in the below example same partnumber(Consideration value) repeating on both…
The "CreateAppHost" task failed unexpectedly. How do I fix this?
I opened a project I worked on a few months and a few updates ago. Now I can't open the form designer. The error list states: MSB4018 The "CreateAppHost" task failed unexpectedly. System.IO.IOException: The requested operation cannot be…
Migrating PageRenderer from Xamarin to MAUI crashes the app
Hi, I am migrating an app from Xamarin Forms to MAUI. I am currently facing an issue using PageRenderer in MAUI as it is crashing the application. I plan to migrate it to PageHandler in the future and want the code to work in MAUI without many…
Publish App Error
I am seeing the following error when I create any .NET Maui app and try to "Reserve a new app name:""An unexpected error occurred when attempting to reserve the app name" This error is occurring repeatedly for different apps, some in…
How to get a particular column from table and display in in label and not in the list in sqlite database in mvvm model
In MVVM model using async connection, I want to retrieve just one column from my async table to a label not to list. all sample I am seeing put all column in the list . I want only one mesa1 column to be displayed in a label.text. public async…
How can I add a video view to my iOS .NET project?
I want to play a video in my iOS .NET project. I have installed the NuGet package XamarinMediaManager version 1.2.2: https://github.com/Baseflow/XamarinMediaManager But the problem is that I only hear the sound of the video when I debug on my iPad. I…
registration in authenticator app fails following example in https://learn.microsoft.com/en-us/training/modules/secure-aspnet-core-identity/7-configure-multi-factor-authentication
I followed the description in https://learn.microsoft.com/en-us/training/modules/secure-aspnet-core-identity/7-configure-multi-factor-authentication the code generated in the microsoft authenticator app is rejected with message "Verification code…
Paging Issue in asp.net MVC
I am trying to add paging but get the error: CS1061: 'IEnumerable<Subject>' does not contain a definition for 'PageCount' and no accessible extension method 'PageCount' accepting a first argument of type 'IEnumerable<Subject>' could be…
Combine 2 Solutions in to 1
I have 2 separate MVC applications (Project1.sln, Project2.sln) using Entity Framework in VS 2019. Both applications work fine if the project/solution is loaded separately. When I add Project2 in Project1, I get a long list of errors. What's the best way…
.Net MAUI desctop app
I am new to programming. I am trying to figure out how to work with MAUI. The problem is that the program does not start in Windows Explorer, but everything works fine from Visual Studio (mobile and desktop versions).Windows11
What is the best way to show the loader while uploading the file in gridview
I am using gridview for displaying and inserting new records. i'm using loader wherever it is required in the gridview. it is working fine. i'm trying to use animation loader for specific upload column in gridview. will it possible to show the loader…
When attempting to add Microsoft.Windows.Desktop.App 8.0.6 I am getting "Package ... has packagetype 'DotnetPlatform' that is not supported
As part of moving from the deprecated WMPLib.WindowsMediaPlayer class to the current Windows.Media.Playback.MediaPlayer class, I am attempting to properly include the required DLL and all dependencies. The MediaPlayer class is a Windows Desktop 8 class…
Dispose File stream and stream
Hi, Does I handle the dispose in correct way ? Note: This line contentStream.CopyTo(fileStream); can take long time. I got contentStream here from download file from our website. var zipPathForFolderOrPathForFile =…
Sporadic System.Net.Http.HttpRequestException: Error while copying content to a stream.
Hi, I receive this sporadic error in subject while calling HttpClient.PostAsync(url, content). I want to make sure that this is not related to my code. public async Task<HttpResponseMessage> UploadPhotoAsync(string productId, MediaGallery…
Where can I find the code for this? WPF Resizing Controls at Runtime
https://www.youtube.com/watch?v=ykphg1P2_ag I need to do something similar to this and I'd like to look at the code for it. This video doesn't give enough detail. Please help, thanks!
Gridview row.cells Unable to cast checkbox as textbox
I have this Gridview where I'm updating a SQL table. Everything works fine until I come across a column that has checkboxes. I'm getting an error message stating unable to cast/convert checkbox to textbox. Here are the lines in question. Dim columnValue…
.net maui grouping data binding not working, displays blank lines.
My listview does not bind correctly, I'm getting blank lines. ( I'm missing something in the code) (in debug) the for each loop show there is data in the Items object but it does not show up in the listview. Xaml <?xml version="1.0"…
How to select multiples images on iOS using .NET MAUI
I'm using .NET MAUI and I want to select multiple images in iOS gallery (photos folder). I tried 2 libraries to do so. The first one is FilePicker, here is the implementation public class PicturePickerImpl : IPicturePicker { async public…