326 questions with .NET CLI-related tags

Sort by: Updated
1 answer

C# Console dont appear when Process.Start fires

Hi, So i made an code in C# that starts an programm, but when i use Process.Start the console didnt opens. Heres the code: string tempPath = System.IO.Path.GetTempPath(); Directory.CreateDirectory(tempPath +…

.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
326 questions
asked 2021-10-19T15:03:28.17+00:00
xMaini 1 Reputation point
commented 2021-10-20T02:22:17.083+00:00
Jack J Jun 24,491 Reputation points Microsoft Vendor
0 answers

Screenshot feature Question

Hi, We're working on the game ,Our game has Photomode feature (not screenshot), We want to know does xbox have API to export game photo to system capture gallery , I found all screenshot saved in 'Manage captures' , And I also want to know the limit…

.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
326 questions
asked 2021-10-18T03:05:24.713+00:00
Cheng Linyang 6 Reputation points
2 answers

Expose an API end point inside a .net core console application is this possible

I am working on a new project which contain 2 main parts:- 1) Schedule service which reads files from SharePoint online and send them to external API 2) The external API will proceed the received documents using AI models >> extract data from the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,575 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,346 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
326 questions
asked 2021-10-08T11:39:26.77+00:00
john john 946 Reputation points
commented 2021-10-15T08:17:29.117+00:00
Brando Zhang-MSFT 3,361 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to execute Azure Databricks command using C#/Dot Net core

I need to implement same structure like Azure Databricks in Dot Net core environment. Any reference ? Any SDK reference for this ?

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,629 questions
Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
2,047 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
326 questions
asked 2021-09-23T09:23:37.167+00:00
Prashant Rewatkar 96 Reputation points
accepted 2021-10-07T04:31:49.367+00:00
Prashant Rewatkar 96 Reputation points
1 answer One of the answers was accepted by the question author.

How can I define a method in property?

Hello, I'd like to define a method into a property in my Human class like C#: DateTime.Now.ToLongDateString(); For example: Human.Age.toDays() Human is class and Age is the property, return an int and toDays a method, return DateTime. Thanks

.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,581 questions
asked 2021-10-06T18:53:01.207+00:00
Shervan360 1,481 Reputation points
accepted 2021-10-06T20:59:18.857+00:00
Shervan360 1,481 Reputation points
1 answer One of the answers was accepted by the question author.

setup a project from github

Hi, I'm totally newbie to C# I have this repo dotnet-csharp.html and I want to run it locally using Microsoft Studio 2019, but I have no Idea what is really required from me in order to make it work? Error message from output: 1>------ Build…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,827 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
326 questions
asked 2021-10-04T12:13:02.513+00:00
Al-Asadi, Bassam 21 Reputation points
accepted 2021-10-05T05:21:43.577+00:00
Al-Asadi, Bassam 21 Reputation points
0 answers

C# how to work with list of task

Hello guys I'm trying to work with a list of tasks but the problem is I can't get a list of run tasks how can I get the list of run tasks without list<>?

.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,581 questions
asked 2021-10-02T15:39:29.403+00:00
Dani_hnr 1 Reputation point
commented 2021-10-02T18:28:51.733+00:00
P a u l 10,416 Reputation points
1 answer One of the answers was accepted by the question author.

Intercept the http Requests before clr execution without changing the source code

Hi all, Intercept the Http Requests before CLR Execution in c# without changing/touch the source code In java this feature is implemented like java agent using premain() method to implemeted java agent and we will inject or modify the code at…

.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,581 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 2021-09-23T11:33:38.487+00:00
Pavan 21 Reputation points
accepted 2021-09-29T17:01:08.423+00:00
Pavan 21 Reputation points
2 answers

Getting a repair error when copy slide from one presentation to another using open xml sdk

Hi i am using this particular code to copy slide from one presentation to another but I am getting an error that ppt goes in repair mode. static uint _uniqueId; static uint GetMaxIdFromChild(SlideMasterIdList slideMasterIdList) { …

.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,581 questions
PowerPoint Management
PowerPoint Management
PowerPoint: A family of Microsoft presentation graphics products that offer tools for creating presentations and adding graphic effects like multimedia objects and special effects with text.Management: The act or process of organizing, handling, directing or controlling something.
224 questions
asked 2021-09-03T14:31:18.6+00:00
Swapnil Sharma 6 Reputation points
commented 2021-09-27T06:18:33.707+00:00
Swapnil Sharma 6 Reputation points
1 answer

How to read Azure Databricks output using API or C# class library

I have Azure Databrick notebook which contain SQL command. I need to capture output of SQL command and use in Dot Net core. Need help.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,346 questions
Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
2,047 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
326 questions
asked 2021-09-23T09:21:15.127+00:00
Prashant Rewatkar 96 Reputation points
answered 2021-09-24T16:52:08.497+00:00
MartinJaffer-MSFT 26,051 Reputation points
1 answer

Click Once WPF application Upgrade failed with COMException (0x8007001F)

Hi all, Our WPF application is still using Click Once to AUTO upgrade the version. At the beginning of these years, it worked well. But in the past two or three years, we have continued to encounter the application auto upgrade failed problem. Code: …

.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,581 questions
asked 2021-09-17T09:09:37.81+00:00
Eric Gao in Microsoft 1 Reputation point
commented 2021-09-23T07:10:09.45+00:00
Eric Gao in Microsoft 1 Reputation point
1 answer

Batch file to download files via CLI from S3 bucket to a drive passing keys

Hi All I'm a newbie to AWS, I need to automate a file download from S3 bucket to a network drive, using AWS CLI command which requires creating a batch file and pass the access key/secret key & the below command to download the files. Can you…

.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
326 questions
asked 2021-09-15T07:34:38.49+00:00
answered 2021-09-22T02:52:58.877+00:00
Sara Liu-MSFT 346 Reputation points Microsoft Vendor
1 answer

DeCompression of XZ Files using C#

Hello All, We are using C# console application (Framework 4.7) for decompressing .XZ files created by our hardware. We want to know which is the best tool (.exe or .dll) for decompressing .XZ files using C#.Net. Thanks in Advance Santosh…

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,501 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,581 questions
asked 2021-09-20T12:37:15.543+00:00
POTNURU Santoshkumar 1 Reputation point
answered 2021-09-20T13:24:31.173+00:00
Castorix31 82,846 Reputation points
3 answers One of the answers was accepted by the question author.

Console Input in a VB.Net Forms program works EXCEPT write and writeline don't display.

See code below. Everything works as far as opening, reading and closing the console. The write and writeline do not output to be displayed. Public Class Form1 <System.Runtime.InteropServices.DllImportAttribute("kernel32.dll",…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,869 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
326 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,644 questions
asked 2021-09-16T21:25:58.527+00:00
Eugene Gough 196 Reputation points
commented 2021-09-17T14:08:23.417+00:00
Eugene Gough 196 Reputation points
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.
326 questions
asked 2021-08-24T14:35:26.297+00:00
Rajarajacholan Krishnamurthy 21 Reputation points
answered 2021-09-17T12:58:35.897+00:00
Castorix31 82,846 Reputation points
1 answer

What's the difference between azure cli "az storage account create" command --sku and --kind parameters?

When creating a storage account using the azure cli, the --sku and --kind parameter seems to have the same functionality. If not so, what's the difference between them?

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,875 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,578 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
326 questions
asked 2021-09-11T17:54:37.257+00:00
Pedro Ignácio 1 Reputation point
answered 2021-09-12T01:25:24.357+00:00
shiva patpi 13,161 Reputation points Microsoft Employee
1 answer

.Net Core 3.1 run published EXE file run with error on run from other directory

Hi all, I build a .net cor e3..1 console app with Oracle managed data access for Core. The app run fine in debug and also in release, but only from the contained directory. The app should run by Control-M with 'wakes up' from his dir on the server…

.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 2021-02-11T12:41:01.277+00:00
Itay Zemah 116 Reputation points
answered 2021-09-09T10:00:47.24+00:00
Adam Jachocki 46 Reputation points
1 answer One of the answers was accepted by the question author.

Convert CSS to Image

Hi I am using htmlrenderer.WinForms to save CSS as Image Convert CSS to image in C# CSS code .bg{ background-image: linear-gradient(90deg, rgb(235, 216, 9),rgb(202, 60, 134)); } but CSS not showing in image just…

.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,581 questions
asked 2021-09-03T14:30:35.063+00:00
Yusuf 731 Reputation points
commented 2021-09-03T18:35:43.887+00:00
Yusuf 731 Reputation points
1 answer

I can't figure out how to a batch file, which opens the ShareX.exe ImageEditor on an image file argument, can close while the ShareX.exe ImageEditor remains open.

I can't figure out how to run the following batch file, named "ShareX_imageditor.cmd", "C:\Program Files\ShareX\ShareX.exe" -ImageEditor %1 in a way that will allow the batch console window to close immediately, but leave open the…

.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
326 questions
asked 2021-09-01T23:52:56.987+00:00
Marc Hankin____MarcA_MsAcct 1 Reputation point
answered 2021-09-02T05:15:29.807+00:00
Viorel 114.2K Reputation points
1 answer

Missing MSBuild error while Push a component in Power Apps PCF

Hi , I am new to Power Platform. I need to create PCF component to add Chatbot in Canvas Apps. Power App community suggests us to create a PCF component with iFrame. Then There is option to add Chatbot in Canvas Apps. So I have created my PCF…

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,159 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
326 questions
asked 2021-08-22T16:15:58.003+00:00
gokulnath palani 106 Reputation points
commented 2021-08-31T02:46:55.243+00:00
RaytheonXie_MSFT 33,251 Reputation points Microsoft Vendor