"In my ASP.NET MVC 5 project, I am migrating to a strict Content Security Policy (CSP) to eliminate the use of 'unsafe-inline' for scripts. While I have successfully implemented the Nonce approach to secure my initial page loads, I still have two outstand
"In my ASP.NET MVC 5 project, I am migrating to a strict Content Security Policy (CSP) to eliminate the use of 'unsafe-inline' for scripts. While I have successfully implemented the Nonce approach to secure my initial page loads, I still have two…
Developer technologies | ASP.NET | ASP.NET Core
How to automatically redirect to next page after progress bar finish loading
How can I create a progress bar that will be loading, and after it finishes loading, it will automatically redirect to next page after 10 seconds? Here is what I tried, although what I've been able to get is a button such that when the button is clicked,…
Developer technologies | C#
How do you fix Intellisense errors in a CMake project when Visual Studio is connected to WSL:Ubuntu?
I am running a CMake project in Visual Studio Community 2026 and it is connected to WSL: Ubuntu. It is running the Linux Debug configuration preset. WSL is running the gcc 15.1.0 compiler. My C++ code builds and runs fine but I get hundreds of…
Developer technologies | Visual Studio | Debugging
Keep Tabs Setting Not Working in Visual Studio 2026
I recently upgraded to Visual Studio 2026. I have Adapting Formatting turned off. I have my Space/Tab setting to Keep Tabs for the all languages default and for all the individual languages that have this option. Despite this, Visual Studio keeps…
Developer technologies | C#
Converting Existing ASP.NET Core Web Application to a Local Desktop Application?
Hello everyone, I currently have a working ASP.NET Core (.NET 8) web application. My goal is to preserve the application's existing HTML/CSS/JavaScript interface and C# business logic (DI, Services, EF Core, etc.) while transforming it into an…
Developer technologies | .NET | Blazor
Can we continue using WCF or should we modernize. Can you provide the details on why we need to modernize?
Can you provide more details on whether we can continue using WCF and continue developing WCF. Whether modernization is required ? if so why?
Developer technologies | .NET | Other
Debugging is not working in Visual Studio Community 2026: The program 'Project iOS' has exited with code 0 (0x0).
My application gets installed on my iPad Air and my application launches on the device but shortly later the application gets terminated. After that I have tried to open the installed application on my device and this works. But debugging gets always…
Developer technologies | .NET | .NET MAUI
SharePoint solutions can't be build with buildtool v18 because of an SDK version error.
SharePoint solutions can't be build because of an SDK version error. C:\Program Files\Microsoft Visual Studio\18\Professional\MSBuild\Microsoft\VisualStudio\v18.0\SharePointTools\Microsoft.VisualStudio.SharePoint.targets(235,5): error : Could not load…
Developer technologies | Visual Studio | Debugging
How do I get the bins from a purchase order line item from the Business Central APIs?
I have a C# app that calls Business Central APIs. I can use https://api.businesscentral.dynamics.com/v2.0/{{tenantId}}/Sandbox/api/v2.0/companies({{company_id}})/purchaseOrders({{PO}})/purchaseOrderLines?$expand=location to get more data about the…
Developer technologies | C#
The Open Folder is forgotten once the solution is opened.
When using the Open Folder feature within Visual Studio 2026 and then use the Views option (Switch Between solutions and available Views) in Solution Explorer to open a solution, the Views option forgets the original Open Folder and you only see items in…
Developer technologies | Visual Studio | Other
debug C++ project with cuda kernel using Nsight
Trying to configure VS 2022 community to integrate with Nvidia tools including NSight debug and compiling .cu source files. This is new install of VS 2022C and then new install of Nvidia GPU tools version v12.6. when i enter VS 2022 no signs of GPU…
Developer technologies | C++
How to migrate my ai development tool website into the visual studio community environment and then create a mobile version for android?
I built an online application using ai development tools but when I try and migrate it to android its giving me a version which doesn't have much technology involved. I want to pull the web application into the visual studio ide so that I can make…
Developer technologies | Visual Studio | Setup
Issue with Teams Bot: Incoming Call Event Not Reaching Bot (App-Hosted Media Sample)
I am developing a Microsoft Teams bot that should be able to join a call initiated from a Teams user. The goal is that when a user places a call to the bot inside Teams, the bot should join the call and handle the audio stream as described in Microsoft’s…
Developer technologies | C#
MSVCRT40.DLL missing when installing software
Hello all, I'm trying to install a software that keeps giving me the message that "The file C:\Windows\System32\MSVCRT40.DLL could not be opened." Searching the web I got the information that this DLL is part of the Visual C++ packages. Which…
Developer technologies | C++
Excel VBA search
Hello, I need to create a Vb script to search for a keyword in different files (Xlsx,csv,txt) under different subfolders and write the result along with the file name in which the keyword is present. Scenario 1000 folders in which 7 subfolders were…
Developer technologies | Visual Basic for Applications
Arduino Joy Stick program that is supposed to draw lines on a Windows GUI app screen is not working
Hi Microsoft team I have a Arduino connected Joy Stick that Writes X and Y cordinate data to the Serial Monitor on Joy Stick Move , but when I read that data from a Windows GUI app in order to get it to draw on the windows GUI APP nothing happens …
Developer technologies | C++
How to draw pineapple ring and output it as bitmap
This is pineapple ring I wanted to draw using VB code: Imagine the background color is black. Each segment must be same size. The line color can be same for practice purpose. The final image have to output to bitmap file. For those who have no idea how…
Developer technologies | VB
.NET entity framework asp.net showing the following react issues ? how to resolve
Hi Everyone (SME), i am facing following 2 issue while building the web pack which is used to run asp.net with react js application i am using node js version 14.21.3 ERROR in ./node_modules/react-draggable/build/cjs/Draggable.js 210:22 ERROR in…
Developer technologies | .NET | Entity Framework Core
Microsoft Access Duplicate Button stopped working with windows 11
Duplicate Button = Command44 (Used to work with Windows 10, Not working with windows 11) On Click = Event Private Sub Command44_Click() On Error GoTo Err_Command44_Click DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70 DoCmd.DoMenuItem…
Developer technologies | Visual Basic for Applications
MAUI - Access XAML element from a different class code behind
I'm working on my first MAUI Android app. It consists of two screens, switchable via a tab control. Now to my issue - I have page MainPage.xaml with MainPage.xaml.cs and also AboutPage.xaml with AboutPage.xaml.cs. Is there a way how to access an element…