54,109 questions with Developer technologies-related tags

Sort by: Updated
0 answers

start foreground service not be called in .net android?

I am using .net android and I want to create foreground service. but it not be called. in OnCreate StartForegroundService(new Intent(this, typeof(XyOpService))); public class XyOpService : Service { public override Android.OS.IBinder? OnBind(Intent?…

Developer technologies | .NET | .NET MAUI
asked Jul 11, 2025, 1:42 AM
mc 5,551 Reputation points
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 Jul 8, 2025, 1:00 PM
mc 5,551 Reputation points
commented Jul 11, 2025, 1:14 AM
mc 5,551 Reputation points
2 answers

DLL file not found when invoking function from Excel/VBA

I'm running Windows 11 with 64-bit MS/Office 2021. I have a very large (>25KSLOC) Excel/VBA application with a helper DLL written in C and compiled by Visual Studio 2022. The last time I used the app was May 4, 2025, and it worked perfectly. Today,…

Developer technologies | Visual Basic for Applications
asked Jun 29, 2025, 1:41 AM
Chris Grossman 10 Reputation points
answered Jul 11, 2025, 1:10 AM
Chris Grossman 10 Reputation points
2 answers One of the answers was accepted by the question author.

is there a path algorithm?

I am using .net android and I want to ask that is there any path algorithm? I have 3 line intersected I want to find a way from A to B and remove the other line

Developer technologies | .NET | .NET MAUI
asked Jun 23, 2025, 12:38 PM
mc 5,551 Reputation points
accepted Jul 11, 2025, 1:09 AM
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 Feb 20, 2023, 10:45 PM
monster gamer47 0 Reputation points
answered Jul 10, 2025, 8:49 PM
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 Feb 12, 2021, 7:36 PM
Shweta Lodha 26 Reputation points
accepted Jul 10, 2025, 8:45 PM
Shweta Lodha 26 Reputation points
1 answer

How do I recover from .net maui error NU1105 ... The property PackageVersion was expected to have a single value across all target frameworks, but instead...

This happened after I upgraded Microsoft.Maui.Controls from 9.0.70 to 9.0.81 using the NuGet Package Manager. Full error message: NU1105 Unable to read project information for '<MyProject>': The property PackageVersion was expected to have a single…

Developer technologies | .NET | .NET MAUI
asked Jul 8, 2025, 3:13 AM
Kurt K 176 Reputation points
commented Jul 10, 2025, 8:30 PM
Kurt K 176 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 Jul 10, 2025, 6:58 PM
MD. JAKIR HOSSAIN 0 Reputation points
3 answers

What can I do with white space in the connection string?

I wrote a small application in VB.NET (VS 2022), and it worked well with the connection string without white space. When I put it in the folder with spaces and that is where I have issues with it. How do I solve this issue with the white space? I do…

Developer technologies | VB
asked Jul 10, 2025, 2:15 PM
Bob Vu 0 Reputation points
commented Jul 10, 2025, 6:23 PM
Viorel 122.7K Reputation points
2 answers

How do I control which database to use when a Blazor Server app starts?

I'm working on a rewrite of an old WebForms application. I want to be able to control, through a GitHub Action running in a self-hosted runner, which database (test or production) the application should run against. I thought I could do this with the…

Developer technologies | ASP.NET | ASP.NET Core
asked Jul 3, 2025, 4:56 PM
Falanga, Rod, DOH 245 Reputation points
edited a comment Jul 10, 2025, 6:14 PM
Falanga, Rod, DOH 245 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 Mar 3, 2023, 7:42 PM
Heinz Deubler 181 Reputation points
answered Jul 10, 2025, 5:53 PM
Burak Ozlik 0 Reputation points
0 answers

Conectar o Windows ao meu dispositivo Mac

Olá, Após atualizar para a versão mais recente do Visual Studio, estou encontrando um erro e não consigo conectar o Windows ao meu dispositivo Mac. O MSBuild não conseguiu se conectar ao Mac com Endereço='xx.xxx.xx.xxx' e Usuário='xx.xxx'. Esta conexão é…

Developer technologies | .NET | .NET MAUI
asked Jul 10, 2025, 12:56 PM
Sara Isabelle Galvão de Lima 0 Reputation points
commented Jul 10, 2025, 4:27 PM
Sara Isabelle Galvão de Lima 0 Reputation points
3 answers One of the answers was accepted by the question author.

How do I convert a UWP application to use Azure Maps?

I maintain a large UWP application that uses MapControl (from Windows.UI.Xaml.Controls.Maps). I didn't know that Bing map tokens were being retired until I started seeing a "MapServiceToken not specified" warning in my map views a few days…

Developer technologies | Universal Windows Platform (UWP)
asked Jul 9, 2025, 8:59 PM
Frank LaRosa 21 Reputation points
answered Jul 10, 2025, 4:02 PM
Frank LaRosa 21 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 Jul 10, 2025, 6:53 AM
Lilo 20 Reputation points
answered Jul 10, 2025, 3:40 PM
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 Jul 10, 2025, 3:11 PM
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 Jan 28, 2023, 9:39 PM
Scott Phillips 0 Reputation points
answered Jul 10, 2025, 3:01 PM
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 Jul 9, 2025, 5:53 PM
Sherpa 346 Reputation points
accepted Jul 10, 2025, 1:49 PM
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 Jul 10, 2025, 1:39 PM
Duffy, John 0 Reputation points
2 answers

Xbox dev mode registration bug

Im trying to activate dev mode for my xbox, but when creating a publisher display name it always says it's not available.

Developer technologies | Small BASIC
asked Jul 9, 2025, 3:02 PM
zack moore 10 Reputation points
commented Jul 10, 2025, 1:37 PM
Renan Gomes 0 Reputation points
0 answers

Integrate CMDITabBar into MDI MFC app

I would like to use CMDITabBar (from WinMerge) into a MFC MDI test application. Here is the test app: https://1drv.ms/u/c/dedcb6ef190b8fd4/ESppBUOCT-hJog-OyL43QXsBooSUM0liWkY9PHAeQo1FBw?e=BeSIzC The code for integration (CMainFrame header): protected: …

Developer technologies | C++
asked Jul 10, 2025, 10:45 AM
Flaviu_ 1,031 Reputation points
edited the question Jul 10, 2025, 11:52 AM
Flaviu_ 1,031 Reputation points