36,995 questions with no answers
0
votes
0
answers
20
views
WiX MSI installer not stopping and removing .NET 8 Windows service
Here is my .wxs file contents:
<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
<Package Name="...
0
votes
0
answers
38
views
Does anybody else have issues with sideloading after updating to Visual Studio 2026?
I recently updated my Visual Studio to the newest version (2026). Since I updated, my Android devices no longer appear in the list of devices. But even worse, since the update they don't appear in my ...
1
vote
0
answers
22
views
Problem with Roslyn configuration on neovim
I've been trying to setup roslyn.nvim with rzls.nvim on my neovim for a while to work with .NET, C# and Blazor. But I've been facing some frustrating problems, I'm using WSL Ubuntu 24.04, a neovim ...
0
votes
0
answers
19
views
Revit 2024 API: Family cannot be loaded from fixed file path (Truss Hole Add-in)
I'm building a Revit 2024 add-in that places a circular void hole where the user clicks in the model.
The hole family has a “Diameter” parameter and cuts only structural framing members around the ...
0
votes
0
answers
35
views
Can a .NET project template automatically add a project reference to an existing project in the solution when added from Visual Studio?
I have a system where users create .NET plugin libraries. To support this, I’ve built:
A solution template that creates:
a plugin project
a testbed console app
a project reference from the testbed → ...
0
votes
0
answers
45
views
error MSB4057: The target "ResolvePackageAssets" does not exist in the project
I tried adding a migration via dotnet ef migrations add InitialCreate but got the following error
C:\Users\tmsta\OneDrive\source\repos\Server Default\TrevorsTempMonitorApp\TrevorsTempMonitorApp.csproj ...
1
vote
0
answers
45
views
EF Core + Npgsql: "column 'status' is of type application_status but expression is of type text"
I've been struggling for two days with a PostgreSQL enum type issue in Entity Framework Core. Despite all my configuration, EF Core keeps trying to send a string (`text`) to an enum column.
The ...
0
votes
0
answers
39
views
Title: Fixing Shaking and Jumping in Custom LoopPanel with Inertia Scrolling and Snap-to-Item
I have a custom LoopPanel in WinUI, and I’m trying to implement inertia smooth scrolling and a snap-to-item feature.
I implemented both features, but I’m seeing some weird behavior: the panel shakes ...
2
votes
0
answers
41
views
WKWebView PDF background turns gray in iOS 26 — how to restore white background?
We’re encountering an issue with WKWebView on the latest iOS 26 beta. When loading a PDF URL, the background behind the PDF now appears as dark gray, instead of the expected white.
Environment:
Device/...
0
votes
0
answers
47
views
Sap .NET connector (SAP Nco 3.1.6) for .NET 8 throws an error "could not find sapnco_utils.dll' file
I'm trying to use the Sap connector for .NET 8 (v3.1.6) and i have run into an error saying that the "sapnco_utils.dll" module is not found. I have the dll file and I have added the assembly ...
0
votes
0
answers
57
views
How can I setup a Wi-Fi hotspot in a .NET framework application?
I want to be able to bring up and takedown a Wi-Fi hotspot in Windows 11 from a .NET framework application.
I know it's possible to use the loopback adapter (and some powershell script), but we want ...
Best practices
0
votes
0
replies
62
views
.NET Messaging CDC - Monitoring
I have a question about messaging in our system. We have three services: Order, Cart, and Monitoring. We usually work with communication in such a way that each project has its own contracts, and ...
0
votes
0
answers
34
views
Sustainsys Saml2 HandledResult = true still sets the cookie
On AcsCommandResultCreated, I want to set my custom cookie. However, I end up with two cookies: one created by the library and another that is mine, even though I set HandledResult = true. How can I ...
0
votes
0
answers
48
views
How to use JSExport in two projects in the same web+C# app
I started with a working app with static exported C# methods like
[SupportedOSPlatform("browser")] // suppress CA1416 "only supported on: 'browser'"
public static partial class ...
0
votes
0
answers
45
views
Grpc bidirectional stream not throwing exception when not implemented
With a new version of grpc a new service was introduced with a new bidirectional stream. The problem is, that when the server runs with an old grpc, the stream does not (reliably) throw an exception ...
1
vote
0
answers
134
views
Send array of objects to .NET controller action
I am trying to pass a javascript array of objects to a .NET controller action List<> parameter. Below is my C#
public bool ImportACE([FromBody] List<Element> elements)
{
foreach(...
0
votes
0
answers
35
views
Activities.Watch() gives me the 'sync' event only
I want to get notifications when an admin adds a user in a group in Google Workspace. And I call the Watch method to do it:
var channel = new Google.Apis.Admin.Reports.reports_v1.Data.Channel
{
...
1
vote
0
answers
68
views
System.Net.WebSockets is missing messages/notifications
I am creating a lib to listen to server notifications (more than 100,000 requests per hour), when using WebSocketSharp it is receiving all 100,000 notifications but there is memory leak (server goes ...
0
votes
0
answers
36
views
IAuthenticateResultFeature disappears when specifying schemes with AuthorizeFilter
I have been successfully reading the logged in OIDC authentication scheme from IAuthenticateResultFeature when using OIDC. I need to know this scheme to perform sign out. This is for a .NET 8 ASP....
1
vote
0
answers
258
views
iOS 26 and .NET MAUI 9 - Flyout Hamburger Icon and Back button color being overwritten by iOS appearance
I have a .NET MAUI Shell application with a Flyout menu targeting .NET 9. The Action Bar in both Light and Dark mode is set to be black. I want the hamburger menu icon and the back button to be white ...
0
votes
0
answers
45
views
EPPlus - How to create stacked column charts row-wise (example included)?
When using EPPlus for Excel and creating charts, with the stacked column chart, how do you create multiple stacked columns in this following configuration:
r/dotnet - EPPLus - stacked column chart ...
0
votes
0
answers
62
views
Changing background color of an Item programmatically using binding
I'm trying to change the color of the background of an object in a UserControl programmatically because I'm using different dictionaries with different properties for each case using binding. I've ...
1
vote
0
answers
152
views
Text DPI scaling difference between .NET Framework 4.7.2 and .NET 9
There seems to be a subtle difference in appearance between .NET Framework 4.7.2 and .NET 9 when scaling text with the DPI.
I made a small DPI-aware test project which compiles to .NET Framework 4.7.2 ...
0
votes
0
answers
227
views
C# Dev Kit on an Air Gapped Network
I am on an air gapped network trying to run a C++ project that uses solution files from Visual Studio, because that is what the rest of my team uses.
I have:
C# Dev Kit 1.61.22
C# 2.93.21
.NET ...
1
vote
0
answers
161
views
Strange hanging request in a .NET / Core application
I have two applications running, a web app on .NET 4.7.2 (versioning is not under my control...), and another on .NET 9 (LLM proxy service). The proxy service takes a request, routes it and uses ...