326 questions with .NET CLI-related tags

Sort by: Updated
4 answers

C++/CLI project with C++20 Standard

Hello, I got this compilation warning from a CLI project with C++20 standard setting: 1>c1xx : warning C4857: C++/CLI mode does not support C++ versions newer than C++17; setting language to /std:c++17 Will there be a support for C++20 and…

.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
326 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,612 questions
asked 2022-03-17T06:01:50.923+00:00
Barias, Abe [AUTOSOL/SYSS/MNL] 46 Reputation points
answered 2022-12-01T10:15:17.24+00:00
Wim 6 Reputation points
1 answer

Scheduled task executes but not calling console exe

I have created an console application on my personal windows 10 laptop (having admin rights) using .Net Framework 4.5.2 which performs conversion of .csv/.xls/.xlsx file to .pdf. Application contains configurable paths in config file and also a class…

.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
326 questions
asked 2021-07-19T15:13:53.983+00:00
Chetan Navale 11 Reputation points
commented 2022-12-01T06:36:14.857+00:00
상준 이 251 Reputation points
1 answer One of the answers was accepted by the question author.

Create and run a new cloud function when a VM is not connected to any network

I have a question regarding func command. I am doing a test to see if we can create and run a new cloud function when a VM is not connected to any network. (the Azure Core Tools is already installed) After disconnecting the VM from network, when I…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,567 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
326 questions
asked 2022-11-14T21:20:56.603+00:00
Mohammed, Zahir 46 Reputation points
commented 2022-11-29T14:59:37.477+00:00
Mohammed, Zahir 46 Reputation points
0 answers

Localization or globalization of the windows application

I am working on a windows application which need to localized to spanish language . Once localization is done while testing the tool screen reader the contents are available in spanish visually but when we chewck them with screen reader thne contents are…

.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
326 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,573 questions
asked 2022-11-24T04:33:27.867+00:00
Dineshkumar.S 451 Reputation points
commented 2022-11-29T08:49:00.687+00:00
Dineshkumar.S 451 Reputation points
3 answers

az cli on Windows cannot run any commands

Using this az cli version : azure-cli 2.33.0 * core 2.33.0 * telemetry 1.0.6 Extensions: application-insights 0.1.14 arcdata Unknown msal 1.16.0 azure-mgmt-resource 20.0.0 Python location 'C:\Program Files (x86)\Microsoft…

Azure SQL Database
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
326 questions
asked 2022-04-28T15:02:42.21+00:00
Craig Nicol 1 Reputation point
answered 2022-11-18T18:21:02.56+00:00
Luis Martins - Docspider Software 41 Reputation points
1 answer One of the answers was accepted by the question author.

.NET console application

Hello, how can i detect if i start a net console application in cmd.exe or form explorer.exe?

.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
326 questions
asked 2022-11-18T16:08:28.97+00:00
Matze 36 Reputation points
accepted 2022-11-18T16:45:56.737+00:00
Matze 36 Reputation points
1 answer

How do I test and package a C++ header only library?

To start, I am frustrated and have tried many, many things. This is with regards to the following repo: https://gitlab.com/anadon/prime_generator_header . As it stands, I have ~6 different terminals (cmd, v1 Powershell, v7 Powershell, the cmd that…

.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
326 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,612 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,446 questions
asked 2022-11-17T23:35:52.49+00:00
Josh Marshall 1 Reputation point
commented 2022-11-18T16:43:13.23+00:00
Josh Marshall 1 Reputation point
1 answer

System.Windows.Forms.ni.dll fails to run program

My program is running on my host Win10 PC, but not on my remote Win10 PC. I don't know what the difference is between the two. I compiled the code using .NET 4.5 framework on VS2017. The binaries range from C# to C++/CLI. Both copies of the software,…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,868 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
326 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,136 questions
asked 2022-11-10T17:21:56.537+00:00
Bryan Willimon 1 Reputation point
answered 2022-11-15T17:47:45.56+00:00
Bryan Willimon 1 Reputation point
1 answer One of the answers was accepted by the question author.

.Net 6 Console application inject ILogger

Hi, I'm writing simple console application and I have solution and two project in first project I've Program.cs and CallerRestHttp in second project I've few class where I have generic implementation for HttpClientFactory. What I want to…

.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
326 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,573 questions
asked 2022-11-09T21:50:48.543+00:00
Andrzej 26 Reputation points
accepted 2022-11-14T19:58:13.793+00:00
Andrzej 26 Reputation points
4 answers One of the answers was accepted by the question author.

UI Option missing when adding new item.

I'm using the latest version of Visual Studio 2022 as of 11/8/22. I created a winform app for visual c++ cli. Desktop development with C++ and .NET desktop development workloads are installed. I have no problem working with the main form,…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,868 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
326 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,612 questions
asked 2022-11-09T04:52:30.623+00:00
Kurt Kregger 21 Reputation points
accepted 2022-11-10T02:05:29.463+00:00
Kurt Kregger 21 Reputation points
1 answer

keyshortcuts not working in my windows application using c#

In my windows application if i Press CTRL + 1 on particular link a video will be played in the browser based on the link now it is not working all of a sudden refer the code below foreach(HtmlAgilityPack.HtmlNode video in videos) …

.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
326 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,573 questions
asked 2022-11-07T13:10:01.21+00:00
Dineshkumar.S 451 Reputation points
answered 2022-11-08T10:51:20.1+00:00
Dineshkumar.S 451 Reputation points
2 answers

c# fourms get live output from cmd line by line

good evening all, i have been working on getting output from cmd however, i was wondering if there was a way to get output from cmd one line at a time instead of it doing all the lines in one and reporting all at once. System.Diagnostics.Process p = new…

.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
326 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,573 questions
asked 2022-10-27T22:24:23.377+00:00
mion shion 241 Reputation points
commented 2022-10-30T02:39:00.723+00:00
Karen Payne MVP 35,291 Reputation points
1 answer One of the answers was accepted by the question author.

How to open a new word document programatically using c# ?

I want to open a new word document in my windows application using C #. Kindly suggest me an method. Thanks in advance.

.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
326 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,573 questions
asked 2022-10-28T05:09:07.67+00:00
Dineshkumar.S 451 Reputation points
accepted 2022-10-28T09:47:26.22+00:00
Dineshkumar.S 451 Reputation points
1 answer

We are building a Winform app on DotNetcore 6 but the app is not adjusting to different screen resolutions

We are building a Winform app on DotNetcore 6 that need to work on laptops but the app is not adjusting to different screen resolutions even though we have utilized anchor and dock properties of the winform controls. Since the app works fine on…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,572 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
326 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,573 questions
asked 2022-10-26T08:09:33.713+00:00
Sunny Sharma 1 Reputation point
commented 2022-10-28T07:18:05.433+00:00
Jiale Xue - MSFT 42,151 Reputation points Microsoft Vendor
1 answer

how to do this ? Word file should not quit untill instructed using c#

Using C# how to achieve this or implement this feature. For my windows application a word or excel file will open based on the conditions and once opened the user will do some changes in the file like editing and adding a new contents to it and it…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,868 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
326 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,573 questions
asked 2022-10-17T11:49:07.35+00:00
Dineshkumar.S 451 Reputation points
commented 2022-10-27T10:54:02.967+00:00
Dineshkumar.S 451 Reputation points
1 answer

Simple Snake Game - Snake Head is not moving after ReadKey()

The snake head 0 does not move anywhere when Console.ReadKey() happens. Here is the full code: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; …

.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
326 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,573 questions
asked 2022-10-20T10:05:00.687+00:00
Cem Tuğanlı 1 Reputation point
commented 2022-10-27T08:42:00.187+00:00
Jiale Xue - MSFT 42,151 Reputation points Microsoft Vendor
1 answer

How to get the probability/score by each cell/row with machine learning?

I have go through the solution in the forum but couldn't find a suitable solution for my question. I have use machine learning model to get the best algo for data modelling. I manage to get the confusion table but somehow i looking for…

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,687 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
326 questions
asked 2022-10-25T03:13:05.287+00:00
Tan, Mei Ting 1 Reputation point
answered 2022-10-26T08:03:28.34+00:00
Tan, Mei Ting 1 Reputation point
3 answers One of the answers was accepted by the question author.

class that can only be instantiated with the using keyword

Hello dear users I'm new to c# and .net. I have a problem. I want to create a class. this class have a option. When you want create instance my class you must to use the "using" keyword. it will force you to use the keyword. ]2 some class…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,572 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
326 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,573 questions
asked 2022-10-21T13:29:36.927+00:00
Berkay Akar 26 Reputation points
accepted 2022-10-23T08:55:44.357+00:00
Berkay Akar 26 Reputation points
1 answer

How to know if 2 ASCII created lines in a command prompt has the same length?

Is there a way to know if these 2 lines have the same size in pixels aka length? What code should I use to determine if they have the same length or not? Just because these perpendicular lines created with ASCII, they differ in length size according…

.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
326 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,573 questions
asked 2022-10-18T12:22:59.917+00:00
Cem Tuğanlı 1 Reputation point
commented 2022-10-21T06:14:10.44+00:00
Jiale Xue - MSFT 42,151 Reputation points Microsoft Vendor
3 answers

How to resolve "Input string was not in the correct format" error

Greetings experts, I have checked out some of the suggested solutions but none appears to help my problem. I have a fieldname called caseNumber with Smallint data type in sql server database. When I use the following line in my c# code: …

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,396 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
326 questions
asked 2022-10-18T21:13:52.277+00:00
Simflex 301 Reputation points
answered 2022-10-19T02:22:46.047+00:00
Lan Huang-MSFT 28,821 Reputation points Microsoft Vendor