323 questions with .NET CLI-related tags

Sort by: Updated
1 answer One of the answers was accepted by the question author.

How do I build a .NET WinUI 3 App without VisualStudio?

Let's say that the VisualStudio license terms don't fit my use case. Perhaps my employer defines itself as a "Java shop", and I'd like to show them the goodness of native apps. But I can't do so by producing an app they're not free to…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,395 questions
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
727 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
323 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,277 questions
asked 2023-05-31T20:50:51.39+00:00
Geronimus 20 Reputation points
commented 2024-05-03T16:55:37.2+00:00
Peter N. Moore 0 Reputation points
1 answer

how to use md5withrsa in .net?

how to use md5withrsa to hash string with private key?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,395 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
323 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,125 questions
asked 2024-05-02T15:11:07.9833333+00:00
mc 3,701 Reputation points
commented 2024-05-03T13:31:47.3366667+00:00
mc 3,701 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.
2,571 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
323 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,081 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,395 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,676 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
323 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,219 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 40,266 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.
323 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,537 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,671 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,395 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,757 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
323 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,277 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,537 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,657 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
323 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,125 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,671 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.
323 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,277 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,125 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) 56,686 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,436 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
323 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,381 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,081 questions
asked 2024-04-09T17:57:58.2433333+00:00
$@chin 85 Reputation points
commented 2024-04-11T21:41:16.9933333+00:00
KarishmaTiwari-MSFT 18,522 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.
323 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,537 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,395 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
323 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,277 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,125 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,395 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,900 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
323 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,125 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,446 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,623 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
323 questions
asked 2024-03-06T06:08:12.9066667+00:00
commented 2024-03-11T06:28:22.07+00:00
Anna Xiu-MSFT 25,801 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,395 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,623 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
323 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) 56,686 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.
323 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,081 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,835 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
323 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,395 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
323 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,188 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
323 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.
323 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.
329 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.
323 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,277 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,671 Reputation points Microsoft Vendor