330 questions with .NET CLI-related tags

Sort by: Updated
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,113 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,658 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
330 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,142 questions
asked 2024-07-30T05:27:45.38+00:00
mc 4,111 Reputation points
answered 2024-07-30T10:45:59.6833333+00:00
Manpj 0 Reputation points
0 answers

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.
3,658 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,411 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
330 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.
155 questions
asked 2024-07-27T12:34:17.0833333+00:00
poojitha donthamsetty 0 Reputation points
commented 2024-07-30T10:16:21.6433333+00:00
Jerry Fu - MSFT 581 Reputation points Microsoft Vendor
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,219 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
330 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,640 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,142 questions
asked 2021-12-01T10:22:50.493+00:00
Kumar Manish 1 Reputation point
answered 2024-07-30T06:44:56.5866667+00:00
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.
3,658 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,901 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
330 questions
asked 2024-07-10T14:53:48.82+00:00
akum-6884 0 Reputation points
edited a comment 2024-07-17T09:16:08.8466667+00:00
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.
330 questions
asked 2021-03-03T11:31:44.523+00:00
Andrew Fraser 91 Reputation points
edited a comment 2024-07-12T08:55:42.37+00:00
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.
3,658 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.
752 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
330 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,142 questions
asked 2024-07-11T22:43:23.2333333+00:00
Isaac Mhango 0 Reputation points
commented 2024-07-12T07:10:22.7333333+00:00
Sander van de Velde | MVP 31,211 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,051 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
330 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,338 questions
asked 2024-07-04T10:14:43.54+00:00
Sutheswaran, Suwhathi 70 Reputation points
answered 2024-07-05T15:47:27.8666667+00:00
Rich Matheisen 45,906 Reputation points
0 answers

i try to get the info in postgresql of the endpoint

i try to get the info of the endpoint by this sdk call : list(PostgreSQL(token, subscription_id).private_endpoint_connections.list_by_server("tommy","testtommy1")) the problem i get this as err: and the problem the endpoint info…

Azure Database for PostgreSQL
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
330 questions
asked 2024-06-23T08:04:23.3666667+00:00
Tommy Mordehay 0 Reputation points
edited a comment 2024-06-26T07:45:55.4033333+00:00
Tommy Mordehay 0 Reputation points
2 answers One of the answers was accepted by the question author.

How read excel file and save into database

Hello guys, Is there any tutorial reading excel files and inserting them into a database with a .net core console application? Thanks in advance.

.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
330 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,142 questions
asked 2021-11-07T16:43:33.453+00:00
Cenk 991 Reputation points
commented 2024-06-18T20:10:20.5066667+00:00
Elento, Richard 0 Reputation points
1 answer One of the answers was accepted by the question author.

C++/CLI breakpoints not stopping

I try to debug an extension for Visual Studio (2019/2022) that I wrote in C++/CLI. Now... the extension itself works. The only problem is, that I cannot jump into the code while it is executing. The breakpoints never stop. But, when I create a C#…

.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
330 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,640 questions
asked 2024-05-14T00:10:57.0833333+00:00
Rudolf Meier 291 Reputation points
commented 2024-05-19T12:12:03.1966667+00:00
Rudolf Meier 291 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,658 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
330 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,142 questions
asked 2024-05-02T15:11:07.9833333+00:00
mc 4,111 Reputation points
commented 2024-05-06T07:15:32.71+00:00
Jiachen Li-MSFT 29,416 Reputation points Microsoft Vendor
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,658 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.
752 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
330 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,660 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 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,740 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
330 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,338 questions
asked 2023-12-01T05:55:00.18+00:00
Carlos Ochoa Medrano 40 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,658 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,716 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
330 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,023 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 47,581 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.
330 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,640 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 29,416 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,658 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.
13,380 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
330 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,660 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,640 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.
11,219 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
330 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,142 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 29,416 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.
330 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,660 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,142 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) 61,811 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,644 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
330 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,464 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,338 questions
asked 2024-04-09T17:57:58.2433333+00:00
$@chin 115 Reputation points
commented 2024-04-11T21:41:16.9933333+00:00
KarishmaTiwari-MSFT 19,032 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.
330 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,640 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