356 questions with Developer technologies | .NET | .NET CLI tags

Sort by: Updated
0 answers

C# to C++/MFC duplex mode - Concept

Hello, I have a static MFC C++ application, I cannot change it. (CLI is not possible) I now need to pass data from a C# DLL in the C++ application and transfer it from the C++ to the C# DLL. What possibilities do I have to implement this…

Developer technologies | C++
Developer technologies | C++

A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.

4,104 questions
Developer technologies | .NET | .NET CLI
Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

11,813 questions
asked 2021-06-30T18:58:17.22+00:00
Markus Freitag 3,791 Reputation points
1 answer One of the answers was accepted by the question author.

What is the msbuild property containing the name of a .Net self-contained single-file application accessible to a target that runs after the publish event?

I want to use a Copy task after a self-contained single-file application is published. I added a target to the .csproj containing a Copy task. I know that the published binary is written to the location pointed to by the $(PublishDir) property. At the…

Developer technologies | .NET | .NET CLI
asked 2026-07-20T16:46:25.6933333+00:00
RLWA32 52,806 Reputation points
commented 2026-07-21T10:03:10.92+00:00
Danny Nguyen (WICLOUD CORPORATION) 8,450 Reputation points Microsoft External Staff Moderator
2 answers

I am facing the issue in CCF ARM template

{ "code": "BadRequestException", "message": "properties.contentSchemaVersion is required" } I have added the version in all the data

Developer technologies | .NET | .NET CLI
asked 2026-03-25T12:54:11.48+00:00
Praveen Ayyasamy 0 Reputation points
commented 2026-03-26T12:57:14.1066667+00:00
Anonymous
6 answers One of the answers was accepted by the question author.

Regex for string cleaning

Hi there, I have the following string to be cleaned of 1 and 2 character words unless it's the letter M or F. EL EL EL EL M EL EL FU S FF EL EL EL E EL I tried with the following expression but it didn't work quite well. var output =…

Developer technologies | VB
Developer technologies | VB

An object-oriented programming language developed by Microsoft that can be used in .NET.

2,940 questions
Developer technologies | .NET | .NET CLI
Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

11,813 questions
Developer technologies | ASP.NET Core | Other
asked 2022-07-14T12:32:57.963+00:00
Kuler Master 416 Reputation points
answered 2025-12-28T09:50:04.83+00:00
elizabeth gonzales 0 Reputation points
1 answer One of the answers was accepted by the question author.

.NET profiling

Hi, Is only System.Management.Automation.Powershell enough or Microsoft.PowerShell also required to get cmdline arguments passed to powershell.exe -c? how to get the actual arguments now? I mean I have the COR_PRF_FUNCTION_ARGUMENT_RANGE Structure,…

Developer technologies | .NET | .NET CLI
asked 2025-10-30T04:52:20.1766667+00:00
Anwar 60 Reputation points
commented 2025-11-03T06:38:32.88+00:00
Varsha Dundigalla(INFOSYS LIMITED) 5,185 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

.NET CLR Profiling

Hi, I am exploring how to profile .NET CLR. My plan is to use the profiling API and use functions like JITCompilationStarted to extract IL code of the entered command. Following is my general method: Set environment variables in a cmd window (as…

Developer technologies | .NET | .NET CLI
asked 2025-10-23T07:30:57.9233333+00:00
Anwar 60 Reputation points
edited the question 2025-11-02T12:43:29.0633333+00:00
Anwar 60 Reputation points
3 answers

Data importation from excel promblem

How can i solve this in my SQL data importation TITLE: SQL Server Import and Export Wizard ------------------------------ The operation could not be completed. ------------------------------ ADDITIONAL INFORMATION: A network-related or instance-specific…

Developer technologies | .NET | .NET CLI
asked 2025-10-09T08:35:15.52+00:00
ajayi dayo 0 Reputation points
commented 2025-10-22T04:37:01.8166667+00:00
Susmitha T (INFOSYS LIMITED) 2,700 Reputation points Microsoft External Staff
1 answer

Intermittent Null Response from API in .NET Desktop Project

I’m currently working on a .NET desktop project, and I’m stuck with one issue. From the same API, I sometimes get a null response. But when I hit the API again, it returns the expected data. The server is always up and running—it’s not going down. The…

Developer technologies | .NET | .NET CLI
asked 2025-09-15T07:19:21.4066667+00:00
vasanth 0 Reputation points
commented 2025-10-07T09:54:24.01+00:00
Damien Pham (WICLOUD CORPORATION) 1,970 Reputation points Microsoft External Staff Moderator
1 answer

Setting up Windows.Diagnostics.Tracing.TraceEvent.dll in PowerShell 7

How can Windows.Diagnostics.Tracing.TraceEvent.dll be set up to run in PowerShell 7? A script is needed to identify which process is overwriting a file after editing it. However, the installation of the Windows.Diagnostics.Tracing.TraceEvent.dll module…

Developer technologies | .NET | .NET CLI
asked 2025-09-06T13:19:23.5133333+00:00
Ronald Sampson 0 Reputation points
commented 2025-09-19T06:25:52.07+00:00
Susmitha T (INFOSYS LIMITED) 2,700 Reputation points Microsoft External Staff
1 answer

Bash.exe not working

Running Windows 11. When I run bash.exe I get a command-prompt-like window, which disappears after a couple of seconds??

Developer technologies | .NET | .NET CLI
asked 2025-08-21T13:40:34.2933333+00:00
Matt May 0 Reputation points
commented 2025-09-08T03:59:58.5033333+00:00
Gade Harika (INFOSYS LIMITED) 2,850 Reputation points Microsoft External Staff
1 answer

How might the .NET CLI be adapted for better accessibility across screen readers and speech-to-text tools?

Is command output readable, and are error messages clearly structured for assistive tech users?

Developer technologies | .NET | .NET CLI
asked 2025-07-28T09:18:45.2133333+00:00
Yash Smith 0 Reputation points
commented 2025-08-22T08:05:41.1433333+00:00
Susmitha T (INFOSYS LIMITED) 2,700 Reputation points Microsoft External Staff
2 answers One of the answers was accepted by the question author.

Azure CLI ERROR when add extensions: An error occurred. Pip failed with status code 1

Hi everyone I'm trying to add extensions in Azure CLI with the command: az extension add --name subscription however I get the following message: An error occurred. Pip failed with status code 1. Use --debug for more information. Here the debug…

Azure Machine Learning
Azure Machine Learning

An Azure machine learning service for building and deploying models.

3,704 questions
Windows for business | Windows Server | User experience | PowerShell
Developer technologies | .NET | .NET CLI
asked 2023-12-01T05:55:00.18+00:00
Anonymous
answered 2025-08-09T16:41:32.51+00:00
Ahmed Ibrahim 5 Reputation points
1 answer

How to fix error NU1100: Unable to resolve 'Microsoft.NET.Test.Sdk (>= 17.12.0)' for 'net9.0'

When I run this command: dotnet new mstest in PowerShell (my solution and project are in VSCode), I meet this problem: After that, following to the Manual Instruction, I run the command dotnet restore but I still meet that problem, I can't find any…

Developer technologies | .NET | .NET CLI
asked 2025-04-03T17:09:25.9866667+00:00
Trần Nhân 0 Reputation points
commented 2025-06-22T07:57:22.24+00:00
John Tasler 0 Reputation points
1 answer One of the answers was accepted by the question author.

MSBUILD : error MSB1008: Only one project can be specified.

I am following a tutorial from a book to learn .NET 9. Summary: The tutorial starts by creating Two 'projects' in a solution that will be used throughout the remainder of the book. The projects are called 'DataContext' and 'EntityModels' At this point in…

Developer technologies | .NET | .NET CLI
asked 2025-06-11T17:27:49.1133333+00:00
Michael Torres 40 Reputation points
accepted 2025-06-13T15:54:36.4833333+00:00
Michael Torres 40 Reputation points
2 answers

En SSMA , cuando me conecto a la bd oracle me sale ORA-50007: Connection string is not well-formed

En SSMA , cuando me conecto a la bd oracle me sale ORA-50007: Connection string is not well-formed Migracion via ssma de oracle a SQL

Developer technologies | .NET | .NET CLI
asked 2025-04-28T16:15:38.3433333+00:00
Adriana García Diaz 0 Reputation points
answered 2025-05-27T16:53:44.5066667+00:00
ADRIANA GARCIA DIAZ 0 Reputation points
0 answers

az account management-group list

az account management-group list & az account management-group list --query '[?name=='''d4693b96-f607-4889-b993-dec11e5a793f''']' fails on the cli with permission issues and i am admin of the account

Developer technologies | .NET | .NET CLI
asked 2025-05-26T06:14:16.2066667+00:00
David Irivbogbe 0 Reputation points
5 answers

Visual Studio 2022 won't connect to NuGet

Visual Studio 2022: [nuget.org] Unable to load the service index for source https://api.nuget.org/v3/index.json. An error occurred while sending the request. The underlying connection was closed: An unexpected error occurred on a send. Unable to read…

Developer technologies | .NET | Other
Developer technologies | .NET | Other

Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.

4,180 questions
Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other

A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.

5,825 questions
Developer technologies | .NET | .NET CLI
asked 2024-02-18T15:42:31.7833333+00:00
Jayakumar R 10 Reputation points
answered 2025-05-14T19:47:33.4866667+00:00
Syed Aun M. Bukhari 5 Reputation points
1 answer

DbProviderFactories Registration Issue in .NET 9 with C++/CLI Loader DLL

Update#2 on April 17 2025 I tried included the system.data.oledb 9.0.4 .nuget package in share.vcxproj and changed share.cpp to "using System.Windows.Forms; using System.Data.Common; using System.Data.OleDb; namespace Share { public static class…

Developer technologies | .NET | .NET CLI
asked 2025-04-16T00:12:04.7066667+00:00
Ryan Wagner 20 Reputation points
answered 2025-04-21T17:47:29.25+00:00
Ryan Wagner 20 Reputation points
0 answers

Installing the .NET Framework 3.5 feature on Windows 11

Hello, I'm trying to enable or install the .NET Framework 3.5 feature on my Windows 11 computer. It's currently listed in the Windows Features menu but not activated. When I try to enable it, I get an error code 0x800F0950 and have no way to install it.…

Developer technologies | .NET | .NET CLI
asked 2025-04-21T15:38:38.36+00:00
Claire 20 Reputation points
0 answers

DbProviderFactories registration fails in .NET 9-windows when run through C++/CLI loader DLL

Hi, I am converting our c# .Net 4.8 applications to .Net9-windows. This is my primary goal. The problem is that I am getting this error "--->Exception: ArgumentNullException :Value cannot be null. (Parameter 'factory')--->Stack: at…

Developer technologies | .NET | .NET CLI
asked 2025-04-16T00:04:13.2633333+00:00
Ryan Wagner 20 Reputation points