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#


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
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
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
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
.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
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


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)
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
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
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++
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
Good installer for visual studio 2019 c# projects
Still using Visual Studio 2019 professional. I have several independent solutions (single project solutions). I need to create an installer that installs 6 different projects on a computer. Right now, I have a single deployment project in each…
Developer technologies | C#
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
color connverter
I have a converter public class SelectedAvatarMultiValueConverter : IMultiValueConverter { public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) { if(values.Length == 2 && …