319 questions with .NET CLI-related tags

Sort by: Updated
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,538 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
319 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,117 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,111 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.
319 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,177 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,117 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) 54,621 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,408 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
319 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,344 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,016 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,347 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.
319 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,513 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,326 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
319 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,177 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,117 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,326 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,823 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
319 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,117 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.) 25,586 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,563 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
319 questions
asked 2024-03-06T06:08:12.9066667+00:00
commented 2024-03-11T06:28:22.07+00:00
Anna Xiu-MSFT 25,376 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,326 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,563 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
319 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) 54,621 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.
319 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,016 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,816 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
319 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,326 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
319 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,129 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
319 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.
319 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.
325 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.
319 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,177 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,111 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,190 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,122 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.
459 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
319 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
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,544 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
319 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,016 questions
asked 2023-12-01T05:55:00.18+00:00
Carlos Ochoa Medrano 20 Reputation points
accepted 2023-12-04T04:18:39.2733333+00:00
Carlos Ochoa Medrano 20 Reputation points
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,605 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
319 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,016 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,191 Reputation points Microsoft Employee
2 answers

how to post Stream as parameter to dllImport function?

If the c++ function need Stream? how to post it ?

.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
319 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,513 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,117 questions
asked 2023-11-20T06:23:33.02+00:00
mc 3,621 Reputation points
commented 2023-11-22T00:41:33.6633333+00:00
mc 3,621 Reputation points
1 answer

Allow the all Azure APIs on my firewall or proxy server

Hi all, We would like to know required firewall/proxy settings for accessing Azure using all of APIs. Especially we would like to know which URLs should we allow in our firewall/proxy. We are going to use third-party product that is developed some of…

Service Manager
Service Manager
A family of System Center products for managing incidents and problems.
208 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,476 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
319 questions
asked 2023-11-13T01:51:57.76+00:00
Moog Ichiro 0 Reputation points
answered 2023-11-14T16:59:16.67+00:00
Bruce (SqlWork.com) 54,621 Reputation points
0 answers

how to fix dotnet core build issue on new jenkins windows agent server

Hi Team, I'm building new jenkins agent on windows 2019 server for dotnet core build . the dotnet SDKs installed are same as old server which is working fine . but on new server the post build package microsoft.extensions.dependency.model.dll is…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,129 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
319 questions
asked 2023-11-14T12:11:20.6166667+00:00
Raju, Ilaiyaraja 0 Reputation points
edited the question 2023-11-14T12:13:54.0266667+00:00
Raju, Ilaiyaraja 0 Reputation points