Can I use custom DataAnnotations localization?
[Required(ErrorMessage = "The Email field is required.")] [EmailAddress(ErrorMessage = "The Email field is not a valid email address.")] [Display(Name = "Email")] public string Email { get; set; } how to…
Developer technologies | ASP.NET | ASP.NET Core
Attaching to WSL process from a visual studio extension.
I can attach to a WSL process in visual studio by going Debug -> 'Attach To Process' in the menu, then setting the 'Connection type' to 'Windows subsystem for Linux', selecting the process from the list, and clicking the 'attach' button. How can I do…
Developer technologies | Visual Studio | Extensions
Get error deploying to analysis services via VS 2022 Community to SQL 2019
Hello All, Hope you can help. I get an error trying to deploy my tabular package to SQL 2019 from VS 2022 community. I get a JIT error
Developer technologies | Visual Studio | Debugging

How to Debug Remote MAUI App Launch
I have a .NET 9 MAUI app being deployed to a remote Xcode iOS iPhone 16 Plus. All components have the latest release software. The deployment is successful, and the application is launched and the splash screen displayed on the phone. However, the first…
Developer technologies | Visual Studio | Debugging


Unable to Hide Buttons in Custom Toolbar with UI Context in Visual Studio Extension
I have created a custom toolbar in my Visual Studio extension that appears only with specific files, using a defined UI context. I want to hide certain buttons in this toolbar programmatically. However, setting the .Hidden = true property does not hide…
Developer technologies | Visual Studio | Extensions
The correct CChildFrame is not activated after the predecessor is closed.
MFC MDI application. Opened several CChildFrame s. (To illustrate better my issue I identified every CChildFrame with an unique id.) Opened, lets say, 5 CChildFrame. 1, 2, 3, 4, 5. List the order of the CChildFrame by menu: About: List…
Developer technologies | C++
An installation file didn't download
I keep getting this error while downloading the visual studio community 2022 package. I have used different VPNs and DNS and have turned my laptop off and on many times but it did not work. What is the problem and solution?
Developer technologies | Visual Studio | Setup
Visual Studio 2022 Build Failure Due to Shortcut Creation Issue
The solution includes a Setup Project that fails to build, causing the build process to be cancelled. This has worked previously without issues. To troubleshoot, the solution was tested on two other computers: one with Visual Studio 2019 and another with…
Developer technologies | Visual Studio | Debugging
How can I fix the 'Unable to download installation files' error in Visual Studio Installer? (Theres no Internet issue)
just downloaded the installer from the site , clicked on the installer , after a few seconds , this , and btw there is no issue with internet
Developer technologies | Visual Studio | Setup
Help fixing template logging code
In the line return $log, "testVoid4"; I'm getting this compile error: 'void' function returning a value I don't understand why when $log, is called with just a single argument void_wrapper is returning anything else than void. How I could make…
Developer technologies | C++
How to trigger GPS location popup (Enable Location Services) in .NET MAUI for Android
I recently upgraded my MAUI project to .NET 9, and I noticed that the code I previously used to show the (GPS) popup on Android has stopped working. Any ideas ?
Developer technologies | .NET | .NET MAUI
How to sign ClickOnce artifacts when using Google Cloud KMS for code signing?
I've successfully done code signing using Google Cloud KMS and jsign for executable files, but I'm unable to sign ClickOnce manifest files. Current Setup Certificate: Code signing certificate from Sectigo (in .crt format) Private Key: Stored in Google…
Developer technologies | Windows Forms
Delayed RecyclerView Binding & Layout
I am working on a .NET for Android app, and most of my RecyclerViews are not being displayed. In the OnResume method of the AndroidX.Fragment.App.Fragment, I call the SetLayoutManager & SetAdapter methods of each of the RecyclerViews. The page (which…
Developer technologies | C#
Can I use my MSDN Visual Studio Enterprise subscription to create Azure connectors for my development boxes?
We are having issues with our new development boxes get created, spun up and then after getting upgraded to 10.0.43, the environments come up as incomplete. We are being told that is has to do with the Azure Connectors not being current and expired. …
Developer technologies | Visual Studio | Extensions
Login not possible with AspNetCore Idenity when Enable DataProtection.
I'm configuring my application to make use of AspNetCore.Identity as well Data protection. public static void Main(string[] args) { var builder =…
Developer technologies | ASP.NET | ASP.NET API
SerialPort.Write blocks when using multiple classes and separate COM ports
Hello dear community, After a long time, I’m reaching out to you again. Some time ago, I started a new coding project in WinUI3 that has gradually grown. Unfortunately, the code has developed quite quickly since I could only work on it in my limited free…
Developer technologies | Visual Studio | Debugging

Implementing mTLS Between Two Apps Using ASP.NET
Guidance is requested on implementing mTLS between two applications using ASP.NET MVC in C#. or any .net code. The setup will involve a handshake between the server app and client app, developed in a localhost environment, utilizing OpenSSL or another…
Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | ASP.NET | ASP.NET API
Developer technologies | ASP.NET | Other
Portal returns updated results while the API returns outdated ones
I have created a GPT4 model in Azure OpenAI Service, and I want to add data source which is Azure AI Search (Cognitive Search Service). The problem is at the time of deployment i cannot see any data source adding option, it is deployed first and then…
Azure AI Search
Developer technologies | ASP.NET | ASP.NET API
Azure OpenAI Service
New WinUI 3 projects fail to build with CS1061 errors after a fresh OS and VS install.
The error always appears in the generated file MainWindow.g.cs. This indicates that the XAML compiler is not correctly connecting the UI file to the code-behind file. Troubleshooting Steps Already Taken: I have already performed extensive…
Developer technologies | Visual Studio | Setup
I can't receive codes on sim to recover bitlocker key
I'm trying to recover bitlocker key but unfortunately the otp codes isn't received on SIM which is registered with Microsoft account