Will the list of tasks being cleared after await Tasks.WhenAll(tasks)?
Hi, Will the list of tasks being cleared after await Tasks.WhenAll(tasks)? int i=0; List<Task> tasks = new List<Task>(); do { tasks.Add(Do_Test1(i)); tasks tasks tasks tasks await Task.WhenAll(tasks); //…
Developer technologies | ASP.NET | ASP.NET Core
how to start a foreground service in .net android?
I am using .net android and I am using media projection to capture screen I find that it is very slow when I minimize my APP so I want to ask that how to create a foreground service so I can run it not slow. .
Developer technologies | .NET | .NET MAUI
How to fix microsoft .NET Framework error
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.NullReferenceException: Object reference not set to an instance of an object. at…
Developer technologies | Visual Studio | Debugging
String compare using Regex
I have a list of strings and I want to filter below combinations using Regex 1) It should give me all the strings ending with ABC 2) It should give me all the strings starting with ABC 3) It should give me all the strings containing ABC
Developer technologies | C#


my laptopi modern 14 b11mou 14" fhd display core i3 11th windows key not working plz help me
my laptop modern 14 b11mou 14" fhd display core i3 11th windows key not working
Developer technologies | Windows Presentation Foundation
.net Maui, viewModel alternative to OnAppearing
I notice that in .net MAUI OnAppearing doesn;t work. I need to find a way to open up a "DisplayAlert" as soon as the app appears and it must be triggered from the ViewModel. Thank you in advanced.
Developer technologies | .NET | .NET MAUI
How to duplicate a document on Visual Studio 2022?
I'm working on a Visual Studio 2022 C# extension, and I'm trying to "programmatically" duplicate an open document and move it into a different group. By "duplicate" I mean like when you click on the option "Window > New…
Developer technologies | Visual Studio | Extensions
LSP message for Word Completion from Visual Studio
I have a Langauge Server (LSP) implemented in C#. Have implemented textDocument/Hover and textDocument/Completion. This works fine on hover and typing in the editor. But Word Completion does not work. Which LSP message is sent from Visual Studio for Word…
Developer technologies | Visual Studio | Extensions
APT2144 invalid file path
VS 2022 Preview... Trying to build and run "Notes" tutorial getting 2 APT2144 invalid file path error in file Xamarin.Android.Aapt2.targets. Error message gives a file path, which I can find using File Explorer. Help on error message says it…
Developer technologies | .NET | .NET MAUI
After updating my Asp.Net Core MVC application from .NET 6 to 8, I have to include Encrypt=false in the SQL connection string
EncryptError.pngWhile running my Asp.Net Core MVC application on .NET 6, the SQL server connection string didn't have any value regarding the "Encrypt". After updating to .NET 8, I have to include Encrypt=false in the connection string saved in…
Developer technologies | ASP.NET | ASP.NET Core
How to use existing Visual Studio subscription/license on new laptop
Several years ago I purchased a subscription for microsoft visual studio profesional and am still paying monthly. The laptop I was using Visual Studio 2019 on is no longer functioning. However, I have the hard drive from the old laptop in my new laptop.…
Developer technologies | Visual Studio | Setup
Hello, After updating to the latest version of Visual Studio, I am encountering an error and am unable to connect Windows to my Mac device. MSBuild was unable to connect to the Mac with Address=‘xx.xxx.xx.xxx’ and User=‘MacDeviceBh’. This connection is
Hello, After updating to the latest version of Visual Studio, I am encountering an error and am unable to connect Windows to my Mac device. MSBuild was unable to connect to the Mac with Address=‘xx.xxx.xx.xxx’ and User=‘MacDeviceBh’. This connection is…
Developer technologies | .NET | .NET MAUI
composite key http
@Html.ActionLink("Edit", "Edit", new { item.monthr,item.tennant }) getting an error . monthr and tennant are the keys.
Developer technologies | ASP.NET | ASP.NET Core
why I can not request permission of manage_external_storage?
i am using .net android and if I requestPermission of manage_external_storage it will call OnRequestPermissionsResult with grantResults =- 1 why?
Developer technologies | .NET | .NET MAUI
Publishing a .NET MAUI app fails with error message "You must include a valid app package manifest file named AppxManifest.xml in the source."
I'm trying to publish a .NET MAUI app. The source code contains a "Package.appxmanifest" file. When I try to publish, it fails with the following error messages: You must include a valid app package manifest file named AppxManifest.xml in…
Developer technologies | .NET | .NET MAUI
Visual studio is freezing when I click on my pending changes which has 34000 + files in it, I want to undo pending changes / manage it. Kindly help
My visual studio is hanging when I click on Pending changes as I have to manage it. Please help I'm using TFS and Visual studio professional 2022.
Developer technologies | C#

Visual Studio failed to publish to Azure Container Registry
Hi, I have an ASP.NET Core application that I am trying to migrate to Azure. I am using Azure Container Registry to publish my app's images and run it on Container App. Until a few days ago, I was able to successfully push the image to the container…
Azure Container Registry
Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | C#
I'd like to know how VB.NET handles cookies
I maintain an old VB.NET WebForms app. I'm converting it to C# and updating it. However, when it comes to converting how the old app handled browser cookies and how to make the same thing work in a C# Blazor app, I am not sure how to proceed. Here's a…
Developer technologies | VB
Maui project not build after added this plugin "Plugin.Firebase.Analytics"
Maui project not build after added this plugin "Plugin.Firebase.Analytics" Create New Project -> Update All Packages -> Add "Plugin.Firebase.Analytics" NuGet package -> After clean Project -> Rebuild the project and it'…
Developer technologies | .NET | .NET MAUI
Understanding the 'PackageOptionalProjectsInIdeBuilds' Parameter in .csproj.user Files
The Visual Studio IDE automatically sets the 'PackageOptionalProjectsInIdeBuilds' parameter to false when switching between different Git branches. I noticed that the value of this parameter, whether true or false, affects the size of the uwp app…