322 questions with .NET CLI-related tags

Sort by: Updated
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.
2,561 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
322 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,045 questions
asked 2023-12-01T05:55:00.18+00:00
Carlos Ochoa Medrano 30 Reputation points
edited a comment 2024-04-24T06:50:16.6833333+00:00
Joanna Wójtowicz 0 Reputation points
2 answers

PresentationFramework problem

I'm developing an app on VS2022 C# .NET4.5.2 WPF upgraded to .NET4.8 After the upgrade when running the .exe file on WIN11 I get the following error: "Not possible to load th efile or assembly 'PresentationFramework', Version 3.0.0.0,…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,368 questions
Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,670 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
322 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,148 questions
asked 2024-04-18T10:00:35.6533333+00:00
silvano diliso 0 Reputation points
answered 2024-04-19T07:09:56.17+00:00
Hui Liu-MSFT 38,251 Reputation points Microsoft Vendor
1 answer

Compatibility Issues with SQLClient Libraries After Migrating to .NET 6 from .NET Framework 4.8

I've encountered issues with Microsoft sqlclient packages after upgrading a set of C# projects from .NET Framework 4.8 to .NET 6.0. The setup consists of a primary C# calculator application, a C# bridge for external integration, and a C++/CLI wrapper.…

.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
322 questions
C++
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.
3,526 questions
asked 2024-04-17T19:00:39.4733333+00:00
Nova, Sirene R 0 Reputation points
edited the question 2024-04-18T05:38:52.9866667+00:00
Jiachen Li-MSFT 26,426 Reputation points Microsoft Vendor
0 answers

Compatibility Issues with DataClient Libraries After Migrating to .NET 6 from .NET Framework 4.8

I'm reaching out for insights into an issue I've encountered after upgrading a set of C# projects from .NET Framework 4.8 to .NET 6.0. The setup consists of a primary C# calculator application, a C# bridge for external integration, and a C++/CLI wrapper.…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,368 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,690 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
322 questions
C#
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.
10,234 questions
C++
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.
3,526 questions
asked 2024-04-17T18:21:32.6033333+00:00
Nova, Sirene R 0 Reputation points
edited the question 2024-04-17T18:23:32.6333333+00:00
Nova, Sirene R 0 Reputation points
2 answers

Application Crashed Caused by Clr.dll, Exception Code is C00000fe

When application runs in new computers, it crashed almost at the same time . and have no dump file, the systemlog report error. ErrorDescription is following: Faulting application name: a.exe, version: 1.0.0.4384, time stamp: 0x5c45a892 Faulting module…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,606 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
322 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,119 questions
asked 2024-04-12T02:37:49.35+00:00
wenshu wu 0 Reputation points
edited a comment 2024-04-15T08:39:43.1666667+00:00
Jiachen Li-MSFT 26,426 Reputation points Microsoft Vendor
4 answers

How to solve Access to the path is denied Error in C#.NET Core application

Hi Team, I have an C#.Net core 3.1 console application which is running on RedHat Linux. I have to create a file in the following path in Linux OS using C#.Net Core. "var/log/TEST_LOG/" When i run at root user, the file is created…

.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
322 questions
C#
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.
10,234 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,119 questions
asked 2021-07-16T12:30:58.16+00:00
Prabs 1 Reputation point
answered 2024-04-12T16:00:59.0866667+00:00
Bruce (SqlWork.com) 55,601 Reputation points
0 answers

Error while executing CLI script on windows VM for a storage account.

Encountered an error shared at the link below while running a script on the Windows CLI to list data from a storage account. https://github.com/Azure/azure-cli/issues/28534

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,427 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
322 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,362 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,045 questions
asked 2024-04-09T17:57:58.2433333+00:00
$@chin 80 Reputation points
commented 2024-04-11T21:41:16.9933333+00:00
KarishmaTiwari-MSFT 18,357 Reputation points Microsoft Employee
1 answer

C++/CLI dll could not be loaded in WinUI3 app

When I called (i.e. instanciated) my class object (e.g. MyTest) which is declared as a managed class in my C++/CLI dll, I saw the following error: System.IO.FileNotFoundException: 'Could not load file or assembly <MyTest>' I am sure that the…

.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
322 questions
C++
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.
3,526 questions
asked 2024-01-10T02:35:05.9466667+00:00
Ueda Kunio(上田 邦男) 20 Reputation points
answered 2024-04-10T23:54:42.0066667+00:00
Ueda Kunio(上田 邦男) 20 Reputation points
1 answer One of the answers was accepted by the question author.

what is the "nested" means in C# IL

see the picture below, I want to know , the nested means, thanks!!

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,368 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
322 questions
C#
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.
10,234 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,119 questions
asked 2024-04-04T07:13:30.0766667+00:00
兰树豪 381 Reputation points
commented 2024-04-04T08:54:17.7233333+00:00
兰树豪 381 Reputation points
0 answers

Publishing with x64 runtimeidentifier (windows 11 framework), on arm64 machine

I've been trying to publish my .net maui application (sideloaded MSI), such that it would run on a Windows x64 machine. My development machine is a MacBook Pro (m3 chip), but I'm running a windows 11 VM (using parallels) - which (I believe) creates an…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,368 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,859 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
322 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,119 questions
asked 2024-03-07T21:32:59.7833333+00:00
sidabs 0 Reputation points
commented 2024-03-13T05:50:16.3333333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,221 Reputation points Microsoft Vendor
1 answer

Error in building .net source code with msbuild or visual studio with proxy

I am having issue in building a source code . It uses nuget public repo and private . both of them fails to build and gives error of certificate . i have tried adding config in nuget.config file but unable to find path to solution . Here is msbuild…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,600 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
322 questions
asked 2024-03-06T06:08:12.9066667+00:00
commented 2024-03-11T06:28:22.07+00:00
Anna Xiu-MSFT 25,551 Reputation points Microsoft Vendor
3 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…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,368 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,600 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
322 questions
asked 2024-02-18T15:42:31.7833333+00:00
Jayakumar R 0 Reputation points
answered 2024-03-05T16:59:03.59+00:00
Bruce (SqlWork.com) 55,601 Reputation points
3 answers

How do I enable docker for a .net application with dotnet cli/powershell?

Hi How do I enable docker for a .net application with dotnet cli/powershell? This is how I create my app: dotnet new sln -n blazortest dotnet new blazorserver -n blazortest dotnet sln add blazortest\blazortest.csproj How do I enable docker/Add docker…

.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
322 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,045 questions
asked 2023-05-22T11:50:20.3133333+00:00
Lelle 0 Reputation points
edited an answer 2024-03-05T05:49:24.9533333+00:00
Kesava Subhash Gullapudi 30 Reputation points
1 answer

Cannot reference System.Windows.Forms.DataVisualization in a console app

Hi, I'm in a Console App (.Net Framework) project and cant use windows.forms, I'm using a .Net Framework Console App because I was not able do it in a .Net Core app either. Specifically trying to call a class from…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,827 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
322 questions
asked 2022-12-02T20:42:33.403+00:00
MM 6 Reputation points
commented 2024-02-20T13:38:43.0166667+00:00
Artur Garcia 5 Reputation points
1 answer One of the answers was accepted by the question author.

NU1102: Unable to find package Microsoft.Extensions.Logging.Abstractions with version (>= 8.0.0)

I get a problem from Microsoft.Extensions.Logging.Abstractions version 8.0.0  I get this problem: "NU1102: Unable to find package Microsoft.Extensions.Logging.Abstractions with version (>= 8.0.0)".  All I do is:  $dotnet new console Demo1…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,368 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
322 questions
asked 2024-02-12T19:48:27.5166667+00:00
Nikolaj Ravn 20 Reputation points
commented 2024-02-13T10:35:13.08+00:00
Nikolaj Ravn 20 Reputation points
2 answers

MSMQ in .NET 6

In.NET 6 (C# 10), I'm creating a console/worker service. In order to store and retrieve messages, I intend to use Microsoft Message Queuing. Like when one service queues up a message and another service retrieves it from the queue. Recently, I read that…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,156 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
322 questions
asked 2022-07-22T11:13:38.573+00:00
Nikhil Kumar 21 Reputation points
answered 2024-01-08T09:01:50.92+00:00
Dennis van der Stelt 0 Reputation points
1 answer

No Access to the PartsUnlimited website

Who can I discuss the pre-requisite below with? The site in the pre-requisites instructions does not exist. https://microsoft.github.io/PartsUnlimited/testing/200.5x-Testing-SeleniumCodedUITestinVS.html Pre-requisites: • Visual Studio 2017 …

.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
322 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
328 questions
asked 2022-03-21T20:18:46.477+00:00
Crisci, Steve 1 Reputation point
commented 2024-01-06T16:36:24.5033333+00:00
Jan-Jaap Spies 0 Reputation points
1 answer

cli in c# How to catch an error of a required option

var languageOption = new Option<string>("--language", "file path and name") { IsRequired = true }; אז איך אני עושה שאם המשתמש לא מקיש את השפה זה לא יזרוק לן הודעת שגיאה ברירת מחדל אלא הודעת שגיאה שאני אחליט

.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
322 questions
C#
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.
10,234 questions
asked 2023-12-11T19:53:39.45+00:00
מממם 0 Reputation points
commented 2023-12-28T12:51:50.56+00:00
Jiachen Li-MSFT 26,426 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Deploy Azure function app with private endpoint results gateway error

I am trying to do ZIP deployment of azure function app that has private endpoint enabled. As a part of this, I created azure resources as follow: Function app with private endpoint enabled and disabled Allow public access on. Storage account with…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,249 questions
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,139 questions
Azure Private Link
Azure Private Link
An Azure service that provides private connectivity from a virtual network to Azure platform as a service, customer-owned, or Microsoft partner services.
460 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
322 questions
asked 2023-12-05T05:25:23.88+00:00
SATYA PAVANKUMAR 40 Reputation points Microsoft Employee
accepted 2023-12-06T13:49:33.3966667+00:00
SATYA PAVANKUMAR 40 Reputation points Microsoft Employee
2 answers

Restore Azure SQL Managed Instance DB from One Server to Another

All, I need to automate the restoration of a few databases from a higher environment to a lower environment in Azure SQL Managed Instance. The databases are hosted in two different resource groups under the same subscription. Is there an out-of-the-box…

Azure SQL Database
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,690 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
322 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,045 questions
asked 2023-11-27T00:02:11.7666667+00:00
PS 376 Reputation points
answered 2023-11-27T05:06:33.41+00:00
ShaktiSingh-MSFT 13,271 Reputation points Microsoft Employee