Why my app is malware?
Hi, I'm a Mac developer and I'm currently trying to submit my first Windows app to the Microsoft Store. The submission is rejected with the message: "10.2.3.1 Security - Malware", but there's no information about which part of the app is…
How to get the length of text found with CurrentCulture?
Suppose I have a text "MaxGroßenIsHere". CurrentCulture is set to "de-DE" in my app. German has the character ß, which can often be written as ss, especially in computers. Therefore,…
Integration of Full Trust Process into WinUI Project
Hi, I have a question, how to integrate Full Trust Process for launching (For example, process, which changes registry entry TaskbarAl) into application like this: https://github.com/YakubMordon/Taskbar-Customizer?
Experiencing memory issues when connecting to Exchange Online Management using C#
I am experiencing memory issues when connecting to Exchange Online Management using C#. The process involves executing commands such as Get-User, Get-DistributionGroupMember, Add-DistributionGroupMember, and Remove-DistributionGroupMember. After each…
How to fix half downloads?
hi there, i was downloading file of 27 GB. after downloading 25 GB it got interrupted and when i am trying to resume, the same message is coming -"that due to tech issue can't be downloaded". On reaching to last moment, it got error. My…
ReadAsStringAsync and ReadAsByteArrayAsync without Cancellationtoken
I use the latest version of VS and C# in a .Net 8 project. I have a function that retrieves the content of a remote file using HttpContent.ReadAsByteArrayAsync() and HttpContent.ReadAsStringAsync(); I can't use the CancellationToken parameter because…
Using Xamarin.Google.UserMessagingPlatform with MAUI for presenting a GDPR consent message
I am trying to present a GDPR consent message in a MAUI app using the Xamarin.Google.UserMessagingPlatform NuGet package. I'm targeting Android 34 on .NET 8. I have used both this: https://stackoverflow.com/a/71299843/7360423 and this:…
Error inside Try that does not trigger catch
I have a function that searches for a text in a PDF viewer using the "DevExpress.Xpf.PdfViewer.PdfViewerControl" control. The variable "MyTextSearchParameter" and "ViewerControl" is not null, but the first time I run the…
![](https://techprofile.blob.core.windows.net/images/_KR_hQAAAwAAAAAAAAAAAA.png?8D8440)
NPOI C# populate Excel spreadsheet containing a table and XML Map
Using C# and NPOI, I'm trying to import data into an existing Excel spreadsheet that contains a table and an XML Map as below. When I try to save and close the spreadsheet at end of process I get a NullReferenceException as below, despite the…
ProgID or CLSID for vb.net apps?
Hello, When registering a file type extension for an app written in vb.net framework…
Upload an excel file to Teams folder from C#.
Hello, I am trying to upload the excel file from the application to the Teams folder. Admin consent for the application identity to read/write file is already given. Can you please help on this? TIA.
Effective file search solution in UWP
Hi, I need to search for files based on their type, creation date, and size (something like in windows). What are the options for an efficient search? I tried to use the Storage API, but the search is quite slow, in turn, System.IO can access folders…
Run a scheduled job in Azure app service using Quartz.net
Hi, I am using a .Net console app (A) deployed in Azure app service to run a scheduled job using Quartz.net library. The job is configured to execute another .Net console executable (B) during the trigger. But executable(B) randomly stops execution in…
The scriptmain.cs can not be found in the SSIS package
I have a SSIS package with a script task. I can edit this script taks, but when I add a breakpoint in the C# code and I run the package I get an error that the ScriptMain.cs can not be found. I use Visual studio 2022 with data tools 2017 and integration…
Advice on C# code to be triggered during an event
Hello Forum. I am looking for some advice. I am going to write some code to produce a program that waits until a system event happens and then launches., Is this a situation when I should write a PROCESS rather than a piece of code to be compiled into…
![](https://techprofile.blob.core.windows.net/images/9T8x8PikrkuLN7Jg5BNPdw.png?8DC1D1)
![](https://techprofile.blob.core.windows.net/images/9T8x8PikrkuLN7Jg5BNPdw.png?8DC1D1)
Unable to cast COM object of type 'Microsoft.Office.Interop.Excel.ApplicationClass'
Hi I've this C# application which opens excel file and updated another excel file. The application developed in Visual studio 2005 and Office 2016. I've recently uninstalled Office 2016 and installed Office 365. Since then " Unable to cast…
UWP eSimManager download profile fails
Hello, i am trying to use the eSimManager to mange eSim in Windows 11. my code is var result = await _eSim.DownloadProfileMetadataAsync("MY ESIM PROFILE ACTIVATION CODE"); but i get result of "cardGeneralFailure" the eSim…
How to send Mail using azure Entra Id User tenant mail in .NET core programmatically ?
Hi, I have an azure Entra ID Subscription where I have created user and the email with my domain, For example (ABC@abcemi.com) and I tried to send mail programmatically. Here are the steps that I have followed to Send Mail via .NET core code: - …
Connection string issue
Hi, What kind of file can be inserted, regarding Connection string, into Maui App?
How to fix error code 2147516556 (0x8000808c) in VS 2022
Reference Library uses .NET 8.0, which I configured it as such. Build is successful but Debugger shows below error and program failed to open. The target process exited without raising a CoreCLR started event. Ensure that the target process is…