326 questions with .NET CLI-related tags

Sort by: Updated
3 answers

Directory.CreateDirectory error on linux using C#.net core - Error: access path is denied

Hello All, I cannot create directory on linux ,it is giving error. The error is "access to the path is denied" I am using following code in c#.net core if (!Directory.Exists(logPath)) { Directory.CreateDirectory(logPath); } Please…

.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
.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-04-07T10:00:12.823+00:00
Prabs 1 Reputation point
commented 2021-04-15T09:05:46.557+00:00
Prabs 1 Reputation point
0 answers

Visual Studio C++/CLI Error : “Failed to load toolbox item, It will be removed from Toolbox”

Picture Linked to Title, I was try to: Clean and Rebuild won't work Project built in x86 Restart V.S doesn't work I just: Created Form and userControl by Default name Linked To Windows and Advanced to "main" Added code…

.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
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
.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-04-07T22:39:48.463+00:00
Wami007 296 Reputation points
commented 2021-04-10T21:29:23.96+00:00
Wami007 296 Reputation points
0 answers

C++ CLI Task IEnumerable shows Error not a valid Generic argument

Hi , MyRepository<MyModel, String>^ pr = new PatientRepository<PatientModel, String>(); Task<IEnumerable<MyModel>^> FindAsync(String^ key) { return pr->FindAsync(key); } here Task IEnemurable<MyModel>…

.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 2021-04-08T05:22:31.18+00:00
Arathi Jinde 6 Reputation points
commented 2021-04-09T08:20:33.66+00:00
Jeanine Zhang-MSFT 9,431 Reputation points Microsoft Vendor
1 answer

Raw number in string validation

Hi all! I have a text data file with number fields in 7 character spaces. The rules are: Right justified Left "0" pad If negative, sign is immediately to the left of the most significant digit For example, the number 126.55 is…

.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
326 questions
asked 2021-04-08T14:56:19.193+00:00
Saga 426 Reputation points
answered 2021-04-09T02:12:21.607+00:00
Saga 426 Reputation points
4 answers

c# console redirection fails to work

I have code like below var psi = new ProcessStartInfo { FileName = "ffmpeg.exe", Arguments = "-i " + fName + " -s " + Width + "x" + Height + " " +…

.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 2021-04-07T10:31:50.697+00:00
Piotr Rybak 21 Reputation points
commented 2021-04-08T17:15:11.997+00:00
WayneAKing 4,921 Reputation points
0 answers

Run .net core application on Linux

Hi, I have developed .Net Core console application. I want to know about how to run it on Linux server? Can i run exe directly on linux server? Please help me on this.

.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-03-08T07:11:40.157+00:00
Prabs 1 Reputation point
commented 2021-03-30T01:49:59.857+00:00
Xingyu Zhao-MSFT 5,356 Reputation points
3 answers

How to Migrate .Net Framework to .Net core application

Hi, I have an desktop application with .Net framework 4.5 using Visual Studio 2015. I want to convert .Net framework 4.5 application(desktop) to .Net Core 3.1 console application in Visual studio 2019 How to approach this? Please help me on this

.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
.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-03-23T11:45:39.21+00:00
Prabs 1 Reputation point
answered 2021-03-28T10:23:37.387+00:00
Ken Tucker 5,846 Reputation points
0 answers

minimal C++ project crash on launch (atexit/_onexit) when using static initialization... but not in original bigger project

I have a project mixing native C++ and C++/CLI, that compiles and runs flawlessly. I have tried to start a new project with the same structure (I just copied and renamed the files before cleaning up by removing the code), and it crashes on launch,…

.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 2021-03-19T09:33:17.503+00:00
Pierre Chatelier 81 Reputation points
commented 2021-03-25T08:46:20.923+00:00
Pierre Chatelier 81 Reputation points
2 answers

See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box

See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.Data.Entity.Infrastructure.DbUpdateException: An error occurred while updating the entries.…

.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 2021-03-19T13:43:13.587+00:00
Mustafa Kılıç 1 Reputation point
answered 2021-03-22T08:39:30.927+00:00
Daniel Zhang-MSFT 9,621 Reputation points
1 answer

Mic not detecting. Getting Unhandled exception (Exception with an error code: 0xe (SPXERR_MIC_NOT_AVAILABLE))

I have been executing code as per Microsoft Learn : https://video2.skills-academy.com/en-us/learn/modules/transcribe-speech-input-text/7-optional-exercise-listen-incoming-data?pivots=csharp My Earphone/Audio is totally fine. I'm using Visual…

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,516 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 2021-03-17T06:04:07.627+00:00
Pranam K 6 Reputation points
answered 2021-03-17T11:49:15.53+00:00
Viorel 114.1K Reputation points
1 answer

VS Does not break on Uncaught exceptions.

This issue specifically applies to .NET languages and probably /clr code. For a while Visual Studio has not been breaking when an exception occurs on a seemingly inconsistent basis unless I am specifically stepping through method where the exception…

.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
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,642 questions
asked 2021-03-13T17:05:23.827+00:00
Matthew Busselberg 21 Reputation points
answered 2021-03-14T11:15:02.92+00:00
Karen Payne MVP 35,291 Reputation points
2 answers

Permission location Android Xamarin

Hello I have the following code to ask location on runtime for a Xamarin forms (Android) var status = await CrossPermissions.Current.CheckPermissionStatusAsync<LocationPermission>(); if (status != PermissionStatus.Granted) { …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,320 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 2021-03-09T13:46:22.247+00:00
Luigui Flores 1 Reputation point
commented 2021-03-11T10:31:10.58+00:00
Luigui Flores 1 Reputation point
4 answers

.net core 2.1 console app with http client factory

Hi guys, I would like to implement a scheduled task which checks an API for every hour and insert data into a database if data is not in the database already. I read some articles and came out with this so far. I wonder if you can guide me to insert data…

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,203 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 2021-02-28T12:36:35.513+00:00
Cenk 986 Reputation points
commented 2021-03-05T05:37:04.307+00:00
Timon Yang-MSFT 9,576 Reputation points
1 answer

Microsoft.VisualStudio.DevShell documentation

I can't found any documentation about load dev shell in powershell comand line. But for cmd it exist https://video2.skills-academy.com/en-us/dotnet/framework/tools/developer-command-prompt-for-vs We have only one post in ms blog about that. Why…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,821 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
326 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
999 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
37,375 questions
asked 2021-02-24T10:49:02.993+00:00
Konstantin Kondr 1 Reputation point
commented 2021-02-25T14:38:02.607+00:00
Michael Taylor 50,586 Reputation points
1 answer One of the answers was accepted by the question author.

How do I get version/revision of CertUtil

I've noticed fciv is no longer available for download. Is this permanent? Assuming so, the alternative seems to be CertUtil. I would like to use CertUtil but need to know the revision/version. In fciv the revision/version is reported by default when…

.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
326 questions
asked 2021-02-14T14:32:27.58+00:00
Frank Erli 21 Reputation points
commented 2021-02-14T20:22:40.08+00:00
Hung-Chun Yu 976 Reputation points Microsoft Employee
2 answers

Cancelling read key with CancelIoEx also interrupts the next read

(reposted from stackoverflow and Microsoft developer community) Following https://stackoverflow.com/questions/9479573/how-to-interrupt-console-readline/9634490 to figure out to interrupt a Console.ReadlLine (and Console.ReadKey), I encountered the…

.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
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
962 questions
asked 2021-02-01T20:02:45.967+00:00
YourEyeG 1 Reputation point
commented 2021-02-10T17:16:57.123+00:00
YourEyeG 1 Reputation point
2 answers One of the answers was accepted by the question author.

How to prebuild C# generics before runtime

Hi, Currently, C# generics are built at runtime. First time, generics execution is very slow because runtime compilation. How to avoid runtime compilation...how to get target x64 or x86 binaries where generics are already compiled to native binary. …

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,821 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
.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
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
37,375 questions
asked 2021-01-14T14:45:11.157+00:00
vb 276 Reputation points
commented 2021-02-03T17:40:16.69+00:00
vb 276 Reputation points
2 answers

.NET CORE CLI for building regular .net applications

Hi, We are using visual studio 2017 and TFS with TeamFoundationVersion Control. We are trying to automate build and deployment using TFS continuous integration and continuous deployment. As part of CI, we were using MSBuild to build ASP.net…

.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
326 questions
asked 2021-01-07T23:05:49.49+00:00
Spunny 326 Reputation points
commented 2021-02-02T20:50:26.603+00:00
Spunny 326 Reputation points
4 answers One of the answers was accepted by the question author.

Displaying Emoji on Console Program - VB.Net

Dear Friends, I want to display an Emoji on my console program - Not the one like " :-) " but a real one like ![49629-smiling-face.png][1] [1]: /api/attachments/49629-smiling-face.png?platform=QnA Can you please let me know how to do it? …

.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,642 questions
asked 2020-12-19T17:14:30.45+00:00
VKSB 236 Reputation points
commented 2020-12-24T01:41:22.567+00:00
WayneAKing 4,921 Reputation points
1 answer

PowerShell web API

How does one create a PowerShell web API using the dotnet 5 SDK?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,344 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
326 questions
asked 2020-12-04T22:48:23.44+00:00
Ayan Mullick 66 Reputation points
commented 2020-12-17T15:34:24.197+00:00
Ayan Mullick 66 Reputation points