328 questions with .NET CLI-related tags

Sort by: Updated
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,647 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,886 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
328 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) 61,731 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.
328 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,328 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,873 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
328 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,647 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
328 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,400 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
328 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.
328 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.
337 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.
328 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,647 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 29,106 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,671 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,309 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.
492 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
328 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.
13,355 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
328 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,328 questions
asked 2023-11-27T00:02:11.7666667+00:00
PS 396 Reputation points
answered 2023-11-27T05:06:33.41+00:00
ShaktiSingh-MSFT 14,406 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.
328 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,635 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,141 questions
asked 2023-11-20T06:23:33.02+00:00
mc 4,111 Reputation points
commented 2023-11-22T00:41:33.6633333+00:00
mc 4,111 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.
215 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,443 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
328 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) 61,731 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,400 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
328 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
2 answers One of the answers was accepted by the question author.

Requested security protocol is not supported - at System.Net.ServicePointManager.ValidateSecurityProtocol(SecurityProtocolType value)

Hi, I am working on a project where I am using a .NET library in native C++ via C++/Clr. I can execute the code and the dialog from the .NET library starts correctly (https://www.bimcollab.com/en/resources/developers/developer-sdk/). But it seems that…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,647 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
328 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,635 questions
asked 2023-11-06T12:58:43.22+00:00
Michael Brunner 40 Reputation points
accepted 2023-11-06T19:57:08.31+00:00
Michael Brunner 40 Reputation points
0 answers

RTSP streams that use Media Foundation stop loading.

I'm writing an application that uses Media Foundation to read and parse RTSP streams. The stream will be in H.264 codec at 25 fps. I can get images using Media Foundation's SourceReader, but it stops at ReadSample() after about 1-2 minute. There's no…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,647 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
328 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,635 questions
asked 2023-10-31T07:00:03.3066667+00:00
MASAHIROTANAKA-1764 0 Reputation points
commented 2023-11-02T12:04:43.54+00:00
MASAHIROTANAKA-1764 0 Reputation points
4 answers

Unable to start the Cloud Shell. not able to connect Cloud Shell. on azure portal

Not able to start Azure CLI ,not working on azure portal , please advise. this is the below error message Unable to start the Cloud Shell. Take a look at the troubleshooting guide.

Azure Cloud Services
Azure Cloud Services
An Azure platform as a service offer that is used to deploy web and cloud applications.
677 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
328 questions
asked 2022-03-22T12:47:59.207+00:00
Dipak Tripathi 1 Reputation point
commented 2023-10-25T01:55:00.59+00:00
Bhargav Sudhir 0 Reputation points
2 answers

How to find backup vaults for an Azure blob container and file share using AZ CLI?

I'm working on an automation project where I need to find the backup vaults configured for blob container and file share. I searched Microsoft documents but couldn't find anything to achieve my goal. Could anyone please help? Thanks.

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,228 questions
Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
2,943 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,638 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
328 questions
asked 2023-10-12T03:38:14.4566667+00:00
ThePowershellFan-4984 1 Reputation point
answered 2023-10-20T17:01:48.2533333+00:00
ThePowershellFan-4984 1 Reputation point
3 answers One of the answers was accepted by the question author.

Which tool can I use to see which DLLs a DLL contains?

https://learn.microsoft.com/en-us/sysinternals/downloads/listdlls Like this C:\Test\App\InterfaceSolutionCppWrapper\Debug>listdlls -v mfcclient Works not. Which tool can I use to see which third DLL contains which other DLLs and which version? How…

.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
328 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,647 questions
asked 2023-10-14T16:46:43.1466667+00:00
Markus Freitag 3,786 Reputation points
accepted 2023-10-17T17:24:15.8366667+00:00
Markus Freitag 3,786 Reputation points
1 answer

the outputData has some unrecognized text?

var processInfo = new ProcessStartInfo { FileName = "cmd.exe", Arguments = "", UseShellExecute = false, RedirectStandardError = true, RedirectStandardInput = true, RedirectStandardInput = true, …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,647 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
328 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,647 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,141 questions
asked 2023-10-08T06:56:21.13+00:00
mc 4,111 Reputation points
commented 2023-10-09T03:05:30.83+00:00
Jiale Xue - MSFT 43,046 Reputation points Microsoft Vendor
7 answers

Console StdOut ans StdErr redirection is only partial. Why and how to redirect full Console output to memory (stream, TextWriter, ...) ?

The problem occur in a WPF application. Console StdOut and StdErr redirection does not works for C++ library, it only works for C# code. This is code used to redirect in my WPF app: Outputter = new StreamWriter(@"C:\temp\test.txt"); …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,647 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,710 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
328 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,647 questions
asked 2022-11-01T20:37:55.42+00:00
Eric Ouellet 41 Reputation points
answered 2023-09-06T10:19:42.6833333+00:00
Simon Rozman 1 Reputation point
2 answers One of the answers was accepted by the question author.

Side by Side MAUI possible?

I am getting increasingly aggravated and defeated by this new distribution method.  Basically from what I can tell, every release of the .NET SDK brings with it a new version of maui workloads that need to be installed via dotnet maui install / update /…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,228 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
328 questions
asked 2023-08-25T00:26:19.8533333+00:00
Jim Borden 20 Reputation points
commented 2023-08-30T15:54:31.7966667+00:00
Bruce (SqlWork.com) 61,731 Reputation points