Category "c++sharp"

Open type font collections are causing errors with PdfPrintingCore "Font has no usable platform or encoding ID. It cannot be used with PDFEdit."

When printing any text in font type Cambria (or another .ttc font type) on Windows I get the following error message: Font has no usable platform or encoding ID

Is there a way to build custom expression in SqlKata for the Select/Order clause

I wanted to pass custom expression to SqlKata The expected output is: SELECT DISTINCT(Column1 + ' ' + Column2) FROM Table1 ORDER BY Column1 + ' ' + Column2

Instantiating an object to the position of another vector, hoping to change Y-axis in the code

I have enemies spawn by instantiating them and having them follow a straight path along the X-axis. When instantiated, I want some variability in their height t

Dynamically generate lambda expression

I have the following class: public class Movie { public int MovieId { get; set; } public string Title { get; set; } } I want to create a lambda express

Kafaka Subscriber not receiving the messages

I am writing sample applications in .Net core to interact with Kafka. I have downloaded Kafka and Zookeeper official docker images to my machine. I am using Con

Use Excel File in C# Microsoft botframework SDK

How can I read local excel data on my C# bot using bot framework SDK. I can't find any documentation for it. Can anyone help?

Pdfium stretches or squashes document on printing

I'm using PdfiumViewer in one of my C# applications. This is the part of the code which I'm using for printing: public documentCopies = 2; // here for example's

How to change linerenderer color at runtime?

The default color now is mixed of colors with the default material : I want that at runtime or before running the game if i set the mode to None set the whole

Character is not able to move by using (A , S , D) in unity

Today I watched an video on how to make movement in youtube (https://www.youtube.com/watch?v=bzheMJQVtBI) but the movement occur only when I press W key or chan

Docker .NET Framework is triggering error Access to the path 'C:\RoslynCompilers-3.6.0\tools\csc.exe' is denied

I am trying to run a simple ASP.NET application in a Docker Container. Unfortunately, this application is a .NET Framework (not .NET Core), and because of that,

How can I generate .csproj Project file only in C# Console App?

I already have a Program.cs in the folder/directory and no other files. When I do dotnet new console, it won't let me create it unless I use --force to overwrit

How can I generate .csproj Project file only in C# Console App?

I already have a Program.cs in the folder/directory and no other files. When I do dotnet new console, it won't let me create it unless I use --force to overwrit

Synology File Station API C#

I encounter a trouble with the file station API using RestSharp I would like to upload a file, I follow the document describe in the official API doc ( here ) T

Transforming JSON template based on JSON values posted into API

I have got a requirement of building an azure function which transforms data in our COSMOS DB based on the value posted by a calling service. So consider this J

Azure Functions: StatusCode cannot be set because the response has already started

I am trying to stream data from my Azure Function and all is fine but I get an error after it has executed. This is the code: [FunctionName("QueryData")] public

Horizontal movement of player causes egregious numbers when checking vertical velocity

Player movement is working (at least somewhat) now, however one issue remains, and that's the insane numbers the y velocity of the Rigidbody2D on the player. Si

Serilog with Graylog not logging

I have a Web API and I'm trying to log messages into Graylog, using Serilog. Now matter what I do, no messages are shown in my Graylog application. This is what

Cannot implicitly convert type void to microsoft.win32.registrykey

Error: cannot implicitly convert type void to microsoft.win32.registrykey Code: using Microsft.Win32; RegistryKey key = Registry.CurrentUser.OpenSubKey(@"Sofwar

system.security.cryptography.protecteddata ,this error I'm getting in code build time. I'm was added Nuget package related to cryptography

Error MSB3027 Could not copy "C:\Users\surendra.reddy.nuget\packages\system.security.cryptography.protecteddata\4.5.0\runtimes\win\lib\netstandard2.0\System.Se

Cannot authenticate using API Key with NLog.Targets.ElasticSearch

I cannot get NLog.Targets.ElasticSearch to connect to a local ElasticSearch instance using an APIKey. My nlog.config has the following: <target xsi:type=