54,122 questions with Developer technologies-related tags

Sort by: Updated
2 answers

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
asked 2025-02-18T07:49:10.6166667+00:00
Dondon510 261 Reputation points
commented 2025-07-11T02:30:16.0066667+00:00
Jack Dang (WICLOUD CORPORATION) 535 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

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
asked 2025-07-08T13:00:31.9633333+00:00
mc 5,551 Reputation points
commented 2025-07-11T01:14:43.9566667+00:00
mc 5,551 Reputation points
2 answers

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
asked 2023-02-20T22:45:34.9566667+00:00
monster gamer47 0 Reputation points
answered 2025-07-10T20:49:15.71+00:00
branlla alderete 0 Reputation points
1 answer One of the answers was accepted by the question author.

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#
asked 2021-02-12T19:36:06.137+00:00
Shweta Lodha 46 Reputation points
accepted 2025-07-10T20:45:39.63+00:00
Shweta Lodha 46 Reputation points
0 answers

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
asked 2025-07-10T18:58:06.3066667+00:00
MD. JAKIR HOSSAIN 0 Reputation points
3 answers One of the answers was accepted by the question author.

.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
asked 2023-03-03T19:42:54.74+00:00
Heinz Deubler 181 Reputation points
answered 2025-07-10T17:53:45.8966667+00:00
Burak Ozlik 0 Reputation points
1 answer

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
asked 2025-07-10T06:53:23.4333333+00:00
Lilo 20 Reputation points
answered 2025-07-10T15:40:36.7066667+00:00
Mammon Z Baloch 0 Reputation points
0 answers

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
asked 2025-07-10T15:11:17.22+00:00
Sajith 11 Reputation points
3 answers

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
asked 2023-01-28T21:39:20.0033333+00:00
Scott Phillips 0 Reputation points
answered 2025-07-10T15:01:32.3433333+00:00
was 0 Reputation points
2 answers One of the answers was accepted by the question author.

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
asked 2025-07-09T17:53:46.2766667+00:00
Sherpa 346 Reputation points
accepted 2025-07-10T13:49:50.4133333+00:00
Sherpa 346 Reputation points
0 answers

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
asked 2025-07-10T13:39:47.2333333+00:00
Duffy, John 0 Reputation points
1 answer One of the answers was accepted by the question author.

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
asked 2025-07-09T14:28:14.14+00:00
Bhuwan 966 Reputation points
accepted 2025-07-10T11:27:49.5833333+00:00
Bhuwan 966 Reputation points
1 answer

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
asked 2025-07-02T07:19:41.8266667+00:00
asgar ali 0 Reputation points
commented 2025-07-10T10:54:55.8533333+00:00
Raymond Huynh (WICLOUD CORPORATION) 315 Reputation points Microsoft External Staff
0 answers

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
asked 2025-07-10T10:04:05.3866667+00:00
mc 5,551 Reputation points
2 answers

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
asked 2025-07-03T08:53:59.06+00:00
Andreas Stavropoulos 5 Reputation points
commented 2025-07-10T09:53:46.2966667+00:00
Tony Dinh (WICLOUD CORPORATION) 390 Reputation points Microsoft External Staff
1 answer

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#
asked 2025-05-07T03:45:15.8833333+00:00
Sasirekha Karunamurthi 10 Reputation points
commented 2025-07-10T09:34:16.4766667+00:00
Adrian Stanley 0 Reputation points
2 answers

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
Azure Container Registry
An Azure service that provides a registry of Docker and Open Container Initiative images.
511 questions
Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | C#
asked 2025-01-21T15:33:13.06+00:00
Pampua84 6 Reputation points
answered 2025-07-10T07:39:58.7366667+00:00
Raymond Huynh (WICLOUD CORPORATION) 315 Reputation points Microsoft External Staff
1 answer

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
asked 2025-06-04T21:29:07.1866667+00:00
Falanga, Rod, DOH 250 Reputation points
answered 2025-07-10T07:36:40.8366667+00:00
Surya Amrutha Vaishnavi Lanka (INFOSYS LIMITED) 5 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

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
asked 2025-05-27T09:10:44.0533333+00:00
Bhuwan 966 Reputation points
accepted 2025-07-10T07:28:01.12+00:00
Bhuwan 966 Reputation points
1 answer

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…

Developer technologies | Universal Windows Platform (UWP)
asked 2024-12-25T02:40:19.2933333+00:00
Xie Steven 831 Reputation points
edited an answer 2025-07-10T07:17:18.8266667+00:00
Harry Vo (WICLOUD CORPORATION) 320 Reputation points Microsoft External Staff