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

Sort by: Updated
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 Visual Studio Other
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 5 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
2 answers

Why can't I change directory path of dotnet core sdk from C drive to S drive?

After a long try, I installed the dotnet core on my computer. But the location PATH in the environment automatically stores the installed data of the dotnet core in the C drive. I want to change the directory path to S drive. How can I change the…

Developer technologies .NET .NET Runtime
Developer technologies .NET Other
Developer technologies .NET .NET CLI
asked 2022-04-27T17:11:20.59+00:00
ANUPRIYA B 1 Reputation point
commented 2025-04-14T22:30:03.4633333+00:00
Kacper Paśnik 0 Reputation points
1 answer 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,333 questions
Windows for business Windows Server User experience PowerShell
Developer technologies .NET .NET CLI
asked 2023-12-01T05:55:00.18+00:00
Carlos Ochoa Medrano 45 Reputation points
commented 2025-03-31T06:09:26.2766667+00:00
Andrew Janke 65 Reputation points
1 answer

"HTTPSConnectionPool Max retries exceeded with url error" when deploying azure function app.

I am trying to deploy functionapp using the CLI by running the command az functionapp deployment source config-zip -g Development -n <function-name> --src <output-directory.zip> but keep getting this error…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,909 questions
Developer technologies .NET .NET CLI
asked 2023-07-03T03:37:46.24+00:00
Mustafa Hussain 0 Reputation points
edited a comment 2025-03-18T10:01:25.1566667+00:00
M Salman 0 Reputation points
1 answer

Does repeated .Net or azd CLI deployement of an Azure App Service over-write existing?

Hello, I have recently deployed an Azure App Service (includes EF Core) using azd CLI. I have a Maui App too (also includes EF Core) that uses said service to perform data sync'ing. All works. This is still only a DEV environment, no need to preserve…

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,930 questions
Developer technologies .NET .NET CLI
asked 2025-02-06T13:42:01.0866667+00:00
LMiles 21 Reputation points
answered 2025-02-16T17:14:05.22+00:00
Bruce (SqlWork.com) 77,686 Reputation points Volunteer Moderator
2 answers One of the answers was accepted by the question author.

Full duplex operation, functions C++ C#

I have a C# application and a C++ application. Between the two, data should now be exchanged. In C# ReceiveDataFromCPP(String data) SendDatatoCPP(string data) In C++ ReceiveDataFromCSharp(String data) SendDatatoCSharp(string…

Developer technologies C++
Developer technologies .NET .NET CLI
Developer technologies C#
asked 2025-01-30T18:47:23.8+00:00
Noah Aas 985 Reputation points
accepted 2025-02-06T10:27:07.2733333+00:00
Noah Aas 985 Reputation points
1 answer

az 2.68.0 pip broken completely

Command: az extension add containerapp root issue: pip broken (see source error) Error: cli.knack.cli: Command arguments: ['extension', 'add', '-n', 'containerapp', '--allow-preview', '--debug'] cli.knack.cli: init debug log: Enable color in…

Community Center Not monitored
Developer technologies .NET .NET CLI
asked 2025-01-20T10:35:50.5533333+00:00
Filipp Trigub 0 Reputation points
edited the question 2025-01-28T10:09:37.54+00:00
Khadeer Ali 5,990 Reputation points Microsoft External Staff Moderator
1 answer

Could not load file or assembly ...... The system cannot find the file specified (after upgrade to dotnet 8)

Hi, I got an issue after upgrading our batch application from dotnet 3.1 to 8. Could not load file or assembly ...... The system cannot find the file specified. In the project itself, we specify all dependency projects, and during the testing, everything…

Developer technologies .NET Other
Developer technologies .NET .NET CLI
asked 2024-12-10T11:35:42.2233333+00:00
Yedija Budiono 0 Reputation points
commented 2024-12-11T08:23:04.5933333+00:00
Jensheng Chim 0 Reputation points
2 answers

Linking App Service backend to APIM with Bicep

I got a simple task that is killing me as information is almost impossible to find. There is an API created manually in APIM, that I try coding in Bicep I need to set the backend, and I cannot. The backend is an app service. clicking on policies gives…

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,447 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,930 questions
Developer technologies .NET .NET CLI
asked 2024-12-04T05:19:47.4933333+00:00
Dmitry Nechaev 20 Reputation points
commented 2024-12-04T22:10:54.8533333+00:00
Dmitry Nechaev 20 Reputation points
1 answer One of the answers was accepted by the question author.

Can native Win32 exe show a WinUI3 Page?

I need to show a WinUI3 page from a native Win32 exe. I cannot make modifications to the Win32 exe. The architecture is like this: native Win32 .exe -> links to a C++/CLI dll with a known native C++ interface C++/CLI dll -> references and makes…

Windows development Windows API - Win32
Developer technologies C++
Developer technologies .NET Other
Developer technologies .NET .NET CLI
Developer technologies C#
asked 2024-11-18T15:30:26.94+00:00
Eric Brandt 45 Reputation points
edited a comment 2024-11-19T22:01:28.0833333+00:00
Eric Brandt 45 Reputation points
2 answers One of the answers was accepted by the question author.

System.AccessViolationException when adding a new item in Visual Studio using IVsProject.AddItem

I'm encountering a System.AccessViolationException while working in Visual Studio 2022. The error occurs specifically when I try to add a new UI or CLR item to a project using the IVsProject.AddItem() method. Below is the full exception log: Aplicación:…

Developer technologies .NET .NET Runtime
Windows for business Windows Client for IT Pros User experience Other
Developer technologies C++
Developer technologies Visual Studio Other
Developer technologies .NET .NET CLI
asked 2024-10-16T21:32:58.7566667+00:00
Julius 20 Reputation points
accepted 2024-10-28T18:06:14.2033333+00:00
Julius 20 Reputation points
0 answers

Cannot programatically create subscription

![Error-image] (/api/attachments/e4531a14-2bbe-4145-bb35-ef665d46065c?platform=QnA)Hi, I am having issues programatically creating MCA subscriptions. we want to use terraform to create the subscription but keep getting the following error. (See image) I…

Azure Cost Management
Azure Cost Management
A Microsoft offering that enables tracking of cloud usage and expenditures for Azure and other cloud providers.
3,578 questions
Azure Azure Startups
Developer technologies .NET .NET CLI
asked 2024-08-21T12:25:38.19+00:00
Whitmore, Rachel 0 Reputation points
commented 2024-10-17T14:07:59.4+00:00
Pranay Reddy Madireddy 6,180 Reputation points Microsoft External Staff Moderator
1 answer

Error NETSDK1061 encountered when run "dotnet publish"

Hi All, Good afternoon. Let me first give a big picture on my project. The main project is using .NET8.0, and it has 2 dependencies. One of the dependencies is using netcoreapp2.1, which is also the one trigger the error NETSDK1061.   I encountered…

Developer technologies .NET .NET Runtime
Developer technologies .NET Other
Developer technologies .NET .NET CLI
asked 2024-09-30T07:12:41.6933333+00:00
Song Xu (NCS) 0 Reputation points
commented 2024-10-11T02:49:24.4033333+00:00
Jack J Jun 25,296 Reputation points