340 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.
3,062 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
340 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,720 questions
asked Dec 1, 2023, 5:55 AM
Carlos Ochoa Medrano 40 Reputation points
commented Dec 29, 2024, 4:11 PM
Sharma Kamal Kumar 1 Reputation point
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…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,032 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
340 questions
asked Dec 10, 2024, 11:35 AM
Yedija Budiono 0 Reputation points
commented Dec 11, 2024, 8:23 AM
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,246 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
340 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,136 questions
asked Dec 4, 2024, 5:19 AM
Dmitry Nechaev 20 Reputation points
commented Dec 4, 2024, 10:10 PM
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…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,032 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,702 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
340 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.
11,177 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,816 questions
asked Nov 18, 2024, 3:30 PM
Eric Brandt 45 Reputation points
edited a comment Nov 19, 2024, 10:01 PM
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:…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,334 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
340 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,816 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,185 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,377 questions
asked Oct 16, 2024, 9:32 PM
Julius 20 Reputation points
accepted Oct 28, 2024, 6:06 PM
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.
2,879 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
340 questions
Azure Startups
Azure Startups
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Startups: Companies that are in their initial stages of business and typically developing a business model and seeking financing.
499 questions
asked Aug 21, 2024, 12:25 PM
Whitmore, Rachel 0 Reputation points
commented Oct 17, 2024, 2:07 PM
Pranay Reddy Madireddy 1,310 Reputation points Microsoft Vendor
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…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,032 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
340 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,185 questions
asked Sep 30, 2024, 7:12 AM
Song Xu (NCS) 0 Reputation points
commented Oct 11, 2024, 2:49 AM
Jack J Jun 24,626 Reputation points Microsoft Vendor
0 answers

High DPI with embedded WinForm UserControl in a Win32 application.

Apologies in advance as this question is a long shot and somewhat obscure. I have a C++ application I maintain. It embeds two .NET 4.x WinForms User Controls as panels in its Win32 window with: My_Control.CreateInstance(L"My…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,915 questions
Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,694 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,032 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,702 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
340 questions
asked Sep 27, 2024, 11:30 AM
Robinson 146 Reputation points
commented Sep 27, 2024, 2:29 PM
Robinson 146 Reputation points
2 answers

Can't install MAUI workload properly on Mac with .NET SDK 8

I’m having trouble installing the .NET MAUI workload on my Mac running macOS. Despite trying different versions of the .NET SDK (8.0.401 and 8.0.400), Visual Studio Code consistently fails to detect the installation.   I was removing all .net…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,032 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,797 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
340 questions
asked Sep 1, 2024, 10:44 AM
Paweł Baturo 0 Reputation points
commented Sep 13, 2024, 7:14 AM
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 34,146 Reputation points Microsoft Vendor
1 answer

.NET MAUI ios Application Crashes When Published. Can Someone Guide me?

I maintaining .NET MAUI application that are created using .NET MAUI Blazor hybrid application project. now wwe need to publish it on Apple Appstore and there also some platform specific codes for android as well. so what i did is create .NET MAUI multi…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,644 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,797 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
340 questions
asked Aug 15, 2024, 3:17 AM
Gayantha Anushan 0 Reputation points
edited the question Sep 6, 2024, 2:04 AM
XuDong Peng-MSFT 10,931 Reputation points Microsoft Vendor
3 answers

Windows Event Log with .Net 5

I have a .Net 5 console application and want to write messages to Windows EventLog. System.Diagnotics.EvengLog does not work also can't add Microsoft.Extensions.Logging.EventLog as getting error as it is targeted to .net framework 4.5.1 Why is it so…

.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
340 questions
asked Aug 24, 2021, 2:35 PM
Rajarajacholan Krishnamurthy 26 Reputation points
commented Sep 5, 2024, 11:37 AM
- - 0 Reputation points
1 answer

Change "Current Code Page" in VS Debug Console to 437 (OEM - United States)

How can I change the code page in my Microsoft VS Debug Console to 437 (OEM - United States) ? Current code page is : 936 (ANSI/OEM - Simplified Chinese GBK) Microsoft Visual Studio Community 2022

.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
340 questions
asked Apr 15, 2022, 7:08 AM
Stay_ 102x 6 Reputation points
commented Aug 25, 2024, 11:45 AM
Erland Sommarskog 114.9K Reputation points MVP
2 answers

how to install visual studio 2010 ultimate on windows 11 and can we open the .net framework 4.0 solution in 2022 visual studio?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,032 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,797 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
340 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,185 questions
asked Aug 24, 2024, 2:11 PM
shafeeq v v 0 Reputation points
commented Aug 24, 2024, 6:18 PM
Nitish kumar 0 Reputation points
1 answer

17:57:58 [Apache] Status change detected: stopped 17:57:58 [Apache] Error: Apache shutdown unexpectedly. 17:57:58 [Apache] This may be due to a blocked port, missing dependencies, 17:57:58 [Apache] improper privileges, a crash, or a shutdown by a

i want to error to operate localhost

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,032 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,726 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
340 questions
.NET Machine learning
.NET Machine learning
.NET: Microsoft Technologies based on the .NET software framework.Machine learning: A type of artificial intelligence focused on enabling computers to use observed data to evolve new behaviors that have not been explicitly programmed.
159 questions
asked Jul 27, 2024, 12:34 PM
poojitha donthamsetty 0 Reputation points
answered Aug 2, 2024, 5:14 PM
Bruce (SqlWork.com) 69,036 Reputation points
2 answers

how to use SendInput in .net?

How to use SendInput to send mouse click event? this is my code: [DllImport("user32.dll")] public extern static uint SendInput(uint inputs, INPUT[] pInputs, int cbSize); [StructLayout(LayoutKind.Sequential)] public struct INPUT { public…

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,694 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,032 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
340 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,185 questions
asked Jul 30, 2024, 5:27 AM
mc 5,041 Reputation points
answered Jul 30, 2024, 10:45 AM
Manpj 0 Reputation points
3 answers

MFC application Crashes intermittently in Clr.dll with internal error in the .Net Runtime ( Windows 10)

We have a C++ MFC application with COM interop for Managed C# code. Recently migrated to Windows 10 from windows 7. Application crashes intermittently pointing to below information in crash dump Exception code: C0000005 Exception Info: The…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,945 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
340 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,816 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,185 questions
asked Dec 1, 2021, 10:22 AM
Kumar Manish 1 Reputation point
answered Jul 30, 2024, 6:44 AM
durongzeskype 20 Reputation points
3 answers

mscoree.dll missing on Windows arm64

I am porting a .NET project to arm64. There are several C++/CLI assemblies in the project. I am using the latest version of Visual Studio (17.10), Windows SDK 10.0.22000.0 and .NET Framework 4.8.1 natively on a Windows arm64 computer. I am able to build…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,032 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,334 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
340 questions
asked Jul 10, 2024, 2:53 PM
akum-6884 0 Reputation points
edited a comment Jul 17, 2024, 9:16 AM
akum-6884 0 Reputation points
3 answers One of the answers was accepted by the question author.

Self-Contained Single-File does not produce a single file

I have a small .Net 5 console application with no dependencies on third party components. I have set it up to publish as a self-contained single-file. However, in the publish directory is the EXE file and four DLLs. The EXE file will not run without…

.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
340 questions
asked Mar 3, 2021, 11:31 AM
Andrew Fraser 116 Reputation points
edited a comment Jul 12, 2024, 8:55 AM
Jayant Gupta 0 Reputation points
0 answers

C:\Users\HMIS>dotnet list sdks The command could not be loaded, possibly because: * You intended to execute a .NET application: The application 'list' does not exist. * You intended to execute a .NET SDK command: No .NET SDKs were found.

every time i try to install SDKs in mywidnows machine its not going through even to open my already created app to open...using System; using System.Reflection; [assembly:…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,032 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.
807 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
340 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,185 questions
asked Jul 11, 2024, 10:43 PM
Isaac Mhango 0 Reputation points
commented Jul 12, 2024, 7:10 AM
Sander van de Velde | MVP 34,201 Reputation points MVP
1 answer

How to create a PS/CLI script for file share capacity alert with Action group

I want to create an alert for file capacity of files and I need an action group as well. Problem is that the storage account has 90 files and i need for each fileshare 1 Alert. I want to try using a script to avoid taking a lot of time doing it…

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,407 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
340 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,720 questions
asked Jul 4, 2024, 10:14 AM
Sutheswaran, Suwhathi 70 Reputation points
answered Jul 5, 2024, 3:47 PM
Rich Matheisen 47,496 Reputation points