Category "c++sharp"

Need help Slerping positions and rotations

I have 2 scripts on my camera, one for following the player ( FollowTarget.cs ), and one which is supposed to, over time, Slerp the camera's transform position

Issues connecting SQLedge to asp.net projects on m1 mac

Back Story: So I've been recently developing some c# sharp projects using a m1 Mac and a sql image (sqledge) hosted in a docker container. When trying to connec

How can I set the value of an indexed property of a COM object in Python?

I have come to a point where one of the properties that I must change (i.e. set) is an indexed get/set property of an object. I am controlling an application th

Swashbuckle.AspNetCore.SwaggerGen.SwaggerGeneratorException: The same schemaId is already used for type "X"

The project of .net core WebApi generate the right swagger when a class is generated in one DLL. this solution works fine, the project is compiled and the swagg

how to replace double in an array with index and value given by user and shifting each element to the right and dropping the last element

I have a problem on replacing the value as I'm not sure which function to use or how to use it. The question: Create and populate an array of 5 doubles. Ask the

Can't hide labels and text boxes when button is checked

When salaried button is checked, change label "Hour Pay: " to "Salary" and hide the labels and text boxes below it. When Hourly button is checked, return every

Process.Start() does not work properly on some computers

I have a program where I run some .msi files. This program downloads some files from our website and runs the .msi file. When I run the code as below, it runs s

How can I embed a variable on build from a text file I read?

I am working on C# winform application and I had setup .env files with this package https://github.com/tonerdo/dotnet-env, the problem is I can't access my data

What is preventing Combobox SelectedValue from setting?

I have several comboboxes, all similar code and only one, CustomerSelector.SelectedValue, is not working. I have even tried setting the value like this: Custom

Disable Macros Automatically Microsoft Word Interop

I have a addin in word that on startup tries to use some macros (I presume that's what it's trying to do anyway), and pops up a window that looks similar to I

How to Bind a List in Model with HTML Form in ASP.NET Core?

I'm unsure what I'm doing wrong when trying to map form values to my model, FieldMappingCollection. I've been able to get the Id and Name back for the model but

The resource string "UnsupportedProjectType" for the "CompileWorkflowTask" task cannot be found

After I install Visual studio update 16.10.3. MSBuild stopped compiling my Workflow Foundation project. I made lots of search but unfortunately I could not find

How to get the window title of a process in C# on Linux/macOS?

By default, GUI windows in Windows, Linux and macOS will show the title of the window on top of them and that is what I want to read programmatically with .NET

How to install Entity Framework in a .Net Framework v4.6.1 application using Visual Studio 2017

My first steps in C# are horrible. Now I'm trying to install Entity Framework. For doing that, I just go to the NuGet package manager, I type "Entity" and try t

Could not load file or assembly 'System.Buffers, Version=4.0.2.0...'

I'm getting the following exception when trying to call GetDatabase method of the MongoClient class after adding a new configuration using VS config. manager: C

BOM Preamble in .NET Rest API causing Twilio Parse Error 12100

We have a .NET Rest API that is a web-hook for Twilio. It returns a TwilioResponse object. Suddenly, Twilio is reporting a Parse Error 12100 on the hook. We lo

The instance of the entity type cannot be tracked because another instance with the keyvalue is being tracked

I am basically trying to implement CRUD using EntityFrameWork core and .Net core 3.1. I have an issue with my update operation where I am not able update the co

ILogger logs to app insights locally but not on azure

The following code work on my machine locally. That means all log statements are in app insights after some minutes... When I deploy the application with Publis

Create WebApplication extension method in external library

I'm trying to create an extension method to register some routes in an external library using C# .NET 6. I can'f find a way to do it because i cannot reference

Can I disable the logging of a specific GameObject without modifying its script in Unity?

For example, I have a GameObject A with the following script public class A: MonoBehaviour { private void Update() { Debug.Log("Log something");