Category "c++sharp"

The type initializer for 'Google.OrTools.ConstraintSolver.operations_research_constraint_solverPINVOKE' threw an exception

I have a google routing web service. it works in a local run project. but when I upload it on the host I get this error message: The type initializer for 'Goog

Rx.Net - process groups asynchronously and in parallel with a constrained concurrency

Playing with System.Reactive trying to resolve the next task - Break an incoming stream of strings into groups Items in each group must be processed asynchronou

GenerateFeatureFileCodeBehindTask task failed unexpectedly

when I try to build I am getting this error. I am using VS studio 2019, and Specflow 3.9.69 Severity Code Description Project File Line Suppression State Error

Error "Cannot bind argument to parameter 'Name' because it is null" when running PowerShell script from C#

AFAIK, the only way to change the type of an Office 365 mailbox to Shared is via Exchange Online Powershell, and seeing that I have to do so from an ASP.NET Cor

ASP.NET MVC Core Consuming Web API with Arrays?

I am having difficulty and although I thoroughly (I think) researched the web, including here at SO, I cannot seem to find what I am looking for -- or I am bein

Cannot start lambda with Mock Lambda Test Tool

I've been working with AWS lambdas for a few months. I was working with a lambda and it was fine at the end of the day. I came back to work on it the next day,

Can I combine a gRPC and webapi app into a .NET Core 3.0 in C#?

I am using dot net core 3.0. I have gRPC app. I am able to communicate to it through gRPC protocol. I thought my next step would be add some restful API suppo

NU1202: Package is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v3.0)

I have created a new Solution where I have added a few projects. They are either ASP.NET Core, Class Libraries or NUnit Test projects. Both the ASP.NET and test

FFmpeg library in WPF

I am building a softwere that can decode and encode using Wpf and c#, and I want to do that using, FFmpeg libary. I saw the ffmpeg autogen warpper but I couldn'

How to know which Outlook Calendar item was deleted? [duplicate]

The following code alerts when new Outlook Calendar items are created and/or deleted: static void Main(string[] args) { var oApp = new App

How to include members of base entity in Swagger API Documentation?

I have something like these: BaseDTO public record BaseDTO { public virtual int Id { get; protected init; } public DateTime Timestamp {

Install APK by programmatically Xamarin.Forms (Android)

So far my code looks like this: 1. Dowload the APK file and save it into internal storege: Using DependencyServices App.xaml.cs IDownloader downloader = Dep

I connot able to filter the current user record using c# and MS Access DB

I connot able to filter the current user record. I want to display the data of current user only. But I did not understand how to handl query. here is the ss of

Multiple array creation with same name in same scope?

What will be the memory address of arr, when I am doing arr = new T[size] twice in the same scope while varying size? Does the memory expands to new size and st

Unity freezes at IndexOutOfRangeException, even though I continue

I have this "Game" class that gets instantiated at Start and sets up the field for Minesweeper and in this process I count the adjacent Mines for each field. us

Passing parameter to DbContext with DI

I want to pass an additional parameter to the DBContext, like this string myParam="xx"; string con="connenctionstring"; services.AddDbContext<IDbContext, DbC

Upload file to SharePoint using HTTP Client is not working

I want to upload a static file to SharePoint using Graph API and HTTP Client. We have a folder where the file is kept, now we have to read the file from the fol

DataGridviewLinkCell - Change the fore color of highlighted cell

I have a datagridview with 1 column being of type DataGridviewLinkColumn, the link text is in blue color and when the focus is on a cell the background color of

Error :StreamJsonRpc.ConnectionLostException: The JSON-RPC connection with the remote party was lost before the request could complete

My unit tests disappear from TestExplorer of visual Studio 2019 16.3.5 The output from test engine is: [16/10/2019 6:45:48.705 Error] StreamJsonRpc.Connectio

How to solve a SonarQube S3267 warning, "Loops should be simplified with "LINQ" expressions"

Consider the following code (which is a simplified version of my actual code): static void Main(string[] args) { string[] data = { "one", "two", "three", "s