42,980 questions with Developer technologies-related tags

Sort by: Updated
1 answer

[Visual Studio 2022] Adding a Project Reference fails

Greetings All, I have a problem with Visual Studio 2022. Firstly, I should tell you that my VS2022 environment is as follows: Microsoft Visual Studio Community 2022 Version 17.14.3 VisualStudio.17.Release/17.14.3+36127.28 Microsoft .NET Framework …

Developer technologies Visual Studio Setup
asked May 31, 2025, 1:56 PM
RobDev 411 Reputation points
commented Jun 26, 2025, 1:25 PM
RobDev 411 Reputation points
1 answer

SAML Access Denied from Azure AD - Localhost Sustainsys Setup

I am trying to set up an SAML based authentication using ASP.Net framework 4.8. But after login i am returning back to my localhost site and getting error like https://localhost:44353/Saml2/Acs?error=access_denied . I have assigned users and all the…

Developer technologies ASP.NET ASP.NET API
asked Jun 25, 2025, 12:23 PM
Verool Kuniyil Shibin 0 Reputation points
commented Jun 26, 2025, 12:11 PM
Verool Kuniyil Shibin 0 Reputation points
5 answers One of the answers was accepted by the question author.

Error trying to call a C# DLL from a C++ console app

I am on Windows 10 with VS 2022. I want to call a C# DLL from a C++ app. I am trying to register the C# DLL using regasm. I am getting the following error: C:\Users\dbaec\OneDrive\Forex\C++_App\C#_DLL\obj\x64\Debug\net6.0-windows7.0>regasm.exe…

Developer technologies C++
asked Jun 16, 2025, 5:00 PM
DonBaechtel-7903 171 Reputation points
accepted Jun 26, 2025, 10:58 AM
DonBaechtel-7903 171 Reputation points
1 answer

.NET Core Profiler Crashing on 32 bit Application Environment

Hi Team. I have developed my own .NET core profiler using VS 2019. To load my profiler, I have set the environment entry in the web.config file. <environmentVariable name="CORECLR_ENABLE_PROFILING" value="1" /> …

Windows development Internet Information Services
Developer technologies .NET .NET Runtime
asked Mar 24, 2022, 1:18 PM
Duraikannu Jeyamani 6 Reputation points
edited a comment Jun 26, 2025, 10:50 AM
Duraikannu Jeyamani 1 Reputation point
2 answers

How to add serilog in .net core api?

I use .net core 8 version. Working on an asp.net api. Need to add serilog with custom coumns in it This question is related to the following

Developer technologies ASP.NET ASP.NET Core
asked Mar 17, 2025, 1:58 PM
Keerthi K Vishwanath 0 Reputation points
edited an answer Jun 26, 2025, 9:36 AM
Jack Dang (WICLOUD CORPORATION) 225 Reputation points Microsoft External Staff
1 answer

MSB4018 / The error was: Illegal characters in path. - Please help me with that annoying error. Cant run a simple container support enabled console app

Hello all , Please help fix that, since yesterday I am having this annoying problem. I have downgraded from enterprise to pro version of Visual studio 2022 then this error came in. Please please please help :) I have tried numerous times repairing ,…

Developer technologies Visual Studio Debugging
asked Jun 18, 2025, 6:18 AM
Katman, Furkan Sertap 5 Reputation points
commented Jun 26, 2025, 9:27 AM
bierzeltpirat 0 Reputation points
1 answer

How to download .NET SDK workloads for later installation?

dotnet workload -h doesn't list a download option. How do you download workloads instead of installing them right away? Thanks

Developer technologies .NET Other
asked Sep 4, 2024, 7:54 PM
Vasya Pupkin 60 Reputation points
commented Jun 26, 2025, 6:11 AM
Markus Schaber 0 Reputation points
1 answer One of the answers was accepted by the question author.

How can I run vstest.console.exe in 32-bit mode using Visual Studio 2022?

I’m working on a .NET solution that depends on a 32-bit native DLL. Due to this dependency, I need the test host process to run in 32-bit mode to avoid runtime issues. However, I'm facing the following challenges: I'm using Visual Studio 2022, which…

Developer technologies Visual Studio Testing
asked Jun 24, 2025, 5:12 AM
Mahesh Kumar 40 Reputation points
accepted Jun 26, 2025, 5:48 AM
Mahesh Kumar 40 Reputation points
1 answer One of the answers was accepted by the question author.

Maui toolkit popup window size controling

Hello all. I built a toolkit popup according the Microsoft doc. and I want that the width of the popup window to fill the screen width. How I do that. I tried horizontal option fill but that's not working. Thank you very much

Developer technologies .NET .NET MAUI
asked Aug 24, 2023, 2:03 PM
Haviv Elbsz 2,071 Reputation points
edited a comment Jun 26, 2025, 4:40 AM
shalin 0 Reputation points
2 answers

Why Can't I Choose AnyCPU as Platform Target in MAUI Project Properties?

When I try to choose AnyCPU as Platform Target for a MAUI project, the drop-down list returns back to ARM64. What is, therefore, enforcing the ARM64 choice for the project? Visual Studio Version: 17.6.4 .NET SDK Version: 7.0.400-preview.23274.1 .NET…

Developer technologies .NET .NET MAUI
Developer technologies C#
asked Jun 29, 2023, 6:46 AM
dg2k 1,416 Reputation points
commented Jun 26, 2025, 3:08 AM
Saideep Anchuri 9,425 Reputation points Microsoft External Staff Moderator
3 answers

How to create dynamic report depend on user input by ASP.NET Core?

I want to build a dynamic report by Asp.net core -EF-, I searched for many ways and ideas, but it doesn't support my idea, I am so disappointed, the core idea of my project is to get tables and columns names from the database and displays them for the…

Developer technologies ASP.NET ASP.NET Core
Developer technologies ASP.NET Other
asked Feb 26, 2023, 9:52 AM
Arwa Sami 20 Reputation points
answered Jun 26, 2025, 12:23 AM
SurferOnWww 4,641 Reputation points
1 answer One of the answers was accepted by the question author.

String Format Not Being Applied

<TextBox Background="#FAFAD2" Focusable="False" HorizontalContentAlignment="Center" Style="{StaticResource TextBoxKey}" Text="{Binding Path=LastUpdate, Converter={StaticResource…

Developer technologies XAML
asked Jun 24, 2025, 10:39 PM
RogerSchlueter-7899 1,446 Reputation points
accepted Jun 26, 2025, 12:06 AM
RogerSchlueter-7899 1,446 Reputation points
3 answers

Value cannot be null. Parameter name: format visual studio 2022

I can create new and work in projects, I can save them and send them to my instructor and they can open them, but whenever I try to open one of my own projects again I get this: at System.String.FormatHelper(IFormatProvider provider, String format,…

Developer technologies VB
asked Feb 27, 2022, 12:29 AM
John Rinaldo 1 Reputation point
commented Jun 25, 2025, 10:14 PM
Will Howard 0 Reputation points
3 answers One of the answers was accepted by the question author.

Windows Form project, sending e-mail error in C#

Hi, I tried several things sending email pragmatically, but get an error: code here: using System.Net; using System.Net.Mail; private void SendEmailOutlook(string toAddress, string fromAddress, string subject, string messageText, bool isHtmlMessage,…

Developer technologies C#
asked Jun 24, 2025, 2:32 AM
Gennady Gurin 146 Reputation points
commented Jun 25, 2025, 4:13 PM
Castorix31 90,521 Reputation points
1 answer

Supportability of XBAP + ClientFormsAuthenticationMembershipProvider + WCF Message Security + TLS 1.2-only in IE11 / PresentationHost.exe (.NET 4.8)

We are troubleshooting the following architecture scenario: Client: XBAP application (.xbap) running in IE11 / PresentationHost.exe on Windows Server 2022 WCF Service Binding: wsHttpBinding with Security mode="Message" (certificate used for…

Developer technologies .NET .NET Runtime
asked Jun 18, 2025, 10:37 AM
Sivagnanam Munusamy 0 Reputation points
answered Jun 25, 2025, 4:01 PM
Bruce (SqlWork.com) 77,681 Reputation points Volunteer Moderator
1 answer

Visual Studio Installer download stuck at 0 bytes

I tried to start VisualStudioSetup.exe multiple times, but download speed is 0B/sec: Adding this 93.184.215.201 download.visualstudio.microsoft.com to hosts file cannot helped. How can i fix this?

Developer technologies Visual Studio Setup
asked Oct 27, 2022, 11:06 AM
Seva Kraynov 6 Reputation points
commented Jun 25, 2025, 2:10 PM
Muhammad Bilal 0 Reputation points
1 answer

Is there any other alternative to use the functionality of dragging and dropping an email item from new outlook1.2024.508.600 (Production) version( ) to WPF form using C#?

I have an existing functionality where I drag and email item from outlook and drop it in the WPF form and it is dropped there along with its attachments. This works fine with Classic outlook but doesn't seem to be working with New outlook (1.2024.508.600…

Developer technologies Windows Presentation Foundation
Microsoft 365 and Office Development Other
Outlook Windows Classic Outlook for Windows For business
Windows for business Windows Client for IT Pros User experience Other
asked May 15, 2024, 6:30 AM
Amit Kumar 40 Reputation points
answered Jun 25, 2025, 1:38 PM
Scott Waye 0 Reputation points
1 answer

Why is step into function is working but play has error in VBA?

I have a macro that converts PDF file into excel. For the first file, it works properly not until I encountered this error on the succeeding files: When I tried to check step into, the macro runs smoothly and converts all the PDF files to excel. While…

Developer technologies Visual Basic for Applications
asked Jun 24, 2025, 8:52 AM
Eliza O. Riva 0 Reputation points
commented Jun 25, 2025, 11:03 AM
Hin-V 655 Reputation points Microsoft External Staff Moderator
2 answers

Cannot Save File message keeps popping up in Visual Studio 2022

While making changes to an MFC dialog using the resource editor, and then not making changes for a short while, Visual Studio 2022 keeps popping up a 'Cannot save file' message... It's as though it is trying to write away a temporary file somewhere, but…

Developer technologies C++
asked Jun 25, 2025, 7:22 AM
Trevor 0 Reputation points
answered Jun 25, 2025, 10:18 AM
David Lowndes 2,635 Reputation points MVP
3 answers

CMake build error at protobuf on C++ project with opencv

When building x86 of the project with opencv, I got an error as blew。 No problem buiding x64。 main] Configuring project: MyProject [proc] Executing command: "C:\Program Files\CMake\bin\cmake.EXE"…

Developer technologies C++
asked Jun 24, 2025, 12:16 PM
Woods Sea 10 Reputation points
answered Jun 25, 2025, 8:38 AM
Woods Sea 10 Reputation points