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…
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…
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>…
![](https://techprofile.blob.core.windows.net/images/1P-HevJX50CFOQJZsnsiMg.png?8D86C2)
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…
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 + " " +…
![](https://techprofile.blob.core.windows.net/images/StgvhX9HK0yWdl2-8Uimwg.png?8D8418)
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.
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
![](https://techprofile.blob.core.windows.net/images/IGm5jP2_AwAAAAAAAAAAAA.png?8D9CB7)
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,…
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.…
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…
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…
![](https://techprofile.blob.core.windows.net/images/7ca689de67ca4855a0ed985ff5add70e.png)
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) { …
.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…
![](https://techprofile.blob.core.windows.net/images/PjYbsbDfukmsOVQ24l7Rxw.png?8D8DBE)
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…
![](https://techprofile.blob.core.windows.net/images/Om7QtIVVK0KogWNboKJknw.png?8D8D8B)
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…
![](https://techprofile.blob.core.windows.net/images/r5yrsV8iQk2T4CNTAd07Kw.png?8D83FD)
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…
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. …
.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…
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? …
![](https://techprofile.blob.core.windows.net/images/LkhGAkKbwkeHLUvfCG8zrw.png?8D896F)
![](https://techprofile.blob.core.windows.net/images/StgvhX9HK0yWdl2-8Uimwg.png?8D8418)
PowerShell web API
How does one create a PowerShell web API using the dotnet 5 SDK?
![](https://techprofile.blob.core.windows.net/images/AWaiOsjNbUiBLZTrNxrjiA.png?8D856A)
![](https://techprofile.blob.core.windows.net/images/AWaiOsjNbUiBLZTrNxrjiA.png?8D856A)