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…
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…
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…
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…
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:…
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…
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…
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.
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#…
how to use md5withrsa in .net?
how to use md5withrsa to hash string with private key?
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…
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…
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,…
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.…
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.…
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…
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…
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
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…