Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
108 views

Here's my example code. It's of no use, but it's short. I have an array to switch on or off the creation of Exceptions at different parts of my code and two functions. The first (Level 0) is an ...
0 votes
0 answers
119 views

We have an on-premise .Net Framework console application that runs as a Windows service which uses the MIP SDK to read and apply labels to files. We are in the process of upgrading to the latest ...
0 votes
0 answers
43 views

tl;dr: How do I find the origin of a dependency in a Visual Studio Installer Project? I've created a Visual Studio Installer Project in VS2022 to package my Unity game as an .msi Visual Studio ...
0 votes
0 answers
27 views

After updating Spring.net packages from 2.0.2 to 3.0.2, it looks like something changed in the behavior of the [Transaction] attribute Interceptor, and now I'm getting an exception: System....
0 votes
0 answers
56 views

I'm developing an API consuming Dynamics CRM through Microsoft.PowerPlatform.Dataverse.Client. When invoking ExecuteAsync on the ServiceClient I would like to catch when there's an issue with the used ...
0 votes
0 answers
52 views

In kubernetes pod container, there are 2 different dotnet processes, one for the main application and the other for monitoring the application. I have configured Entrypoint as shown below in both ...
0 votes
0 answers
156 views

I am developing a Winforms app using VS2022 in C# for .NET 4.8 to print accelerated reader labels for books. Some books do not have a barcode on the back so I added to may app the ability to take the ...
0 votes
0 answers
94 views

I'm using Microsoft Solver Foundation to minimize chi-square between two distributions. Usually there are multiple peaks in each distribution but occasionally there is just one. I'm noticing in that ...
0 votes
0 answers
29 views

I am running into a build error when trying to pack my solution using ILRepack.Lib.MSBuild.Task>. My solution consists of 'Project1' and my unit test project 'TestProject1'. Project1 uses a '...
0 votes
0 answers
66 views

I started learning maui a couple of days ago. I'm making an app on pixel 9 pro emulator, but when I run my app on samsung s21 fe, the interface gets too big. Below I will attach the maui script and ...
0 votes
0 answers
68 views

I have the below python code which works perfectly on any Workspace by executing the DAX on powerbi Dataset, whereas i converted this in .Net, but its failing and giving Not Found error. Can someone ...
0 votes
0 answers
72 views

Minimal Repro (runnable) https://blazorplayground.syncfusion.com/VNrIjvNbtiVkgpNo Scenario For each model, my grid displays two rows: "Time" and "Value". Rule: If a user enters a ...
1 vote
0 answers
131 views

I'm trying to figure out how to add middleware to a chat client added to the Kernel. It seems like I need the actual instance of the chat client in order to add the middleware? This is the ...
0 votes
0 answers
48 views

I need to create a column chart on excel. I tried using NPOI for this. var chart = (XSSFChart)drawing.CreateChart(anchor); var chartData = chart.ChartDataFactory.CreateColumnChartData<string, ...
2 votes
0 answers
417 views

I have a .dll.config in which I'd like to place a linkedConfiguration: <?xml version="1.0" encoding="utf-8"?> <configuration> <assemblyBinding xmlns="urn:...
1 vote
0 answers
214 views

I'm trying to upload a small sample CSV file up to my personal google drive via a Service Account, but it keeps failing. I've created a folder in my personal Drive, and shared it with my Service ...
0 votes
0 answers
34 views

If I run a maui project from command line such as > dotnet build -f net9.0-android .\MyMauiProject.csproj -t:Run This starts the app in the USB attached Android Device. How can I attach to it from ...
1 vote
0 answers
2k views

I am unable to run my asp.net core application from Visual Studio 2019. It was running all good few weeks back but now when I run it, it throws the error as follow: This site can’t be reached The ...
0 votes
0 answers
31 views

//1st way public string GetSomeData() { List<SomeObject> largeCollection = GetLargeDataCollection(); JavaScriptSerializer serializer = new JavaScriptSerializer(); json = ...
1 vote
0 answers
50 views

I'm working on a Blazor app configured to use Interactive Auto render mode. My goal is to improve initial page load times while avoiding the flicker that occurs when using prerendering with Blazor ...
0 votes
0 answers
62 views

Hi I'm trying to modify the .NET runtime from github.com/dotnet/runtime. I downloaded the release from that github repository website. Then, you extract the files to C:\rt. Then run .\build.cmd -s clr+...
0 votes
0 answers
43 views

I have just built a new NAS running TrueNAS Core, the main use of it is for storage but as a side task I wanted it to run my Discord bot written in .NET8.0 (C#). TrueNAS Core jails use FreeBSD and I ...
1 vote
0 answers
74 views

Can someone check if this is a visual studio error or if I made a mistake somewhere? Desired scenario: first request in each of .http files is login request. Other requests consume the token from the ...
0 votes
0 answers
106 views

I started learning C# a while ago with Tim Corey's course and while it is a bit outdated in Visual Studio version, I never had a problem similar to this. I wrote a simple piece of code which takes a ...
1 vote
0 answers
325 views

I've been trying to implement a higher precision timer to my C# Raylib game project for running at fixed intervals regardless of the game's main drawing loop. My current implementation is using System....