NuGet Package Manager Error in Visual Studio 2022 on Windows 11
The NuGet Package Manager has suddenly stopped working in Visual Studio 2022 on a Windows 11 PC. An error occurs when trying to load the Package Manager, displaying the following message: [nuget.org] Unable to load the service index for source…
Developer technologies | Visual Studio | Setup
HttpContext is null in production but working currently in development Blazor Web App .Net 8
hello, HttpContext after successful login, it is null in production but working currently in development Blazor Web App .Net 8 Interactive Auto. I have added this authorizationhandler and assigned to httpClient in program.cs public class…
Developer technologies | .NET | Blazor

How to build an app to check if any file is opened by another program(C#, Windows)?
I tried my best to build an app to check if a file is opened by another program. I used ChatGPT, Gemini to do so. But their solutions didn't work. Now I need your help: using System; using System.Collections.Generic; using System.Diagnostics; using…
Developer technologies | C#
After VS installation, where are the VS environment variables (e.g. VS_INSTALL_DIR)?
After I install Visual Studio Community, where are the VS environment variables (e.g. VS_INSTALL_DIR)?
Developer technologies | Visual Studio | Setup
Why does the post-increment/decrement operator precede the pre-increment/decrement operator?
Hi! I was checking out the Microsoft article for operator precedence in C# (https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/operators/#operator-precedence), and I saw that in the table, x++ and x-- precede ++x and --x. I didn't really…
Developer technologies | C#
MAUI USE OF BING FOR ERROR REPORTING
With the latest releases, when debug deploying my MAUI app to an Android phone, during the early execution Chrome appears targeting Bing with the following URL: "https://www.bing.com/?ref=aka&shorturl=View/SystemErrors/1". The browser…
Developer technologies | .NET | .NET MAUI


how to use DASH or HLS to play video in asp.net core?
how to upload video and then play it using DASH or HLS?
Developer technologies | ASP.NET | ASP.NET Core
How to build an app to check if a file is opened by another program using C#
Hello, I want to build an app to check if a file is opened by another program.
Developer technologies | C#

MFC opening dialog, find starting position
Windows 11, Visual Studio 2022, C++ MFC This line is in OnInitDialog() of the class that starts when the app is started in debug mode. CWnd::GetWindowRect( &m_dialog_location_size );`` ``// Get the window rectangle The .left and .top…
Developer technologies | Visual Studio | Debugging

How to use SUM or other functions to sum the cells of the established IF function in Excel?
The cell formula of the established IF function is =IF(O2+P2+Q2<=80,"80",IF(O2+P2+Q2<=110,"150",IF(O2+P2+Q2<=140 ,"190",IF(O2+P2+Q2<=140,"190","230")))) I want to add up these result values,…
Microsoft 365 and Office | Development | Other

Microsoft 365 and Office | Excel | For business | Windows

Developer technologies | Visual Basic for Applications

How to remove server from server explorer list in Visual Studio
I am sorry if the tag is wrong. I could not find a visual studio tag. The issue is that I have by mistake connected to my own pc as a 'Windows Server' and now it is showing up in the Server Explorer of Visual Studio 2022. I am able to view 'Event Logs',…
Developer technologies | Visual Studio | Setup

NET9 MAUi connection from Visual Studio to iMac
In my iMac, I have installed NET9 and the workload for MAUI, latest version. I created a shiny MAUI project based on NET9. When I try to run the application from Visual Studio to a simulator such as iPhone 15 iOS 18.1, I get this error MSBuild was…
Developer technologies | Visual Studio | Setup

XSLT/XSL-FO transformation function stops working (Exception from HRESULT: 0x80131401)
Hello, My Visual Studio is again not working for XSLT/XSL-FO transformations. The error message that displays is: FileLoadException Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0x80131401). All…
Developer technologies | Visual Studio | Other
Unique ID of MAUI device
Hello IT gurus I need some unique identifier of MAUI device (platforms: iPhone/Windows/Android/Tizen/MacCatalyst...) like MAC address of device, whatever... I want answer on this question: Is it the first (self) app instalation on this device? Yes/No…
Developer technologies | .NET | .NET MAUI
How do I get Microsoft Code to come up in my right click menu?
When I right button click on a folder in Windows Explorer, the option to launch that new and empty folder in Microsoft Visual Studio Code is not available to me as it appears in a youtube tutorial like so. How do I get it there as a menu option If I…
Developer technologies | Visual Studio | Setup

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++
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
iOS Setting SemanticFocus on ContentPage
I am testing the voiceover function for iOS. For this I have a ContentPage which contains: An AccessibilityTitle set to describe the page itself AccessbilityText for every element within the page (these elements can be Labels, ContentViews etc What…
Developer technologies | .NET | .NET MAUI
How to load Langauge Server (LSP) when loading the extension package
I have a requirement of loading the Language Server (LSP) explcitly without opening any file (of the Language Server's content type). But currently the Langauge Server gets loaded only when a file of this content type is opened. Is there a way to load…
Developer technologies | Visual Studio | Extensions
Access database set Default Value of a short text field of another short text field
Hi there I have an access database with a short text field called TM Description. I have created another short text field called BrandingDescription that I want to set the Default Value to the text entered in TM Description, ie the two fields would show…