1,623,896 questions
0
votes
0
answers
28
views
Unable to authenticate to Twitter API
I am trying to write an incredibly simple C# console application that will just post a single tweet on my twitter on my behalf.
I have a developer account and read the reference, including the parts ...
0
votes
0
answers
30
views
cant send an array of js via formdata to controller(my viewmodel wont bind to it)
my function
i can send everything including pictures too but this array i cant send it.
the logic is this via this i wannna know how manny images he removed or if the user changeed the main image from ...
0
votes
0
answers
13
views
Godot Mono with Facepunches Steamworks Implementation Gives Shared Object File Error
I am using Godot Mono 4.5.1 stable, and am trying to get Facepunch.Steamworks working. I specifically run into the error
E 0:00:02:363 Steamworks.SteamAPIInitResult
...
/usr/lib/dotnet/shared/...
1
vote
0
answers
38
views
Why is my WPF DataGrid RowDetail ignoring SelectedItem but accepts ItemsSource?
I am using a WPF DataGrid with MVVM approach. The ItemsSource of the DataGrid is bound to an ObservableCollection of something which has an Id and an ObservableCollection of strings.
I want the Id to ...
1
vote
1
answer
77
views
Prevent Visual Studio from autocorrecting (in this case quotes don't overwrite)
If I select something and then type quotes, it doesn't replace as expected, it just puts quotes around the selected text.
select
type one quote (")
instead of the expected
or
How do I ...
0
votes
0
answers
53
views
RabbitMQ .Net unsupported external secret error [closed]
hi everyone first of all i did what i all know but it doesnt work
services:
hotelreservationapi-presentation:
image: hotelreservationapi-presentation:latest
build:
context: ./...
4
votes
3
answers
97
views
C# 12 - How do I make sense of this behavior? Passing an array of non-nullable reference type to a parameter expecting nullable reference type array
I am on a quest to understand the nullable reference type system in C# (well, I guess the non-nullable reference types are the unique part). The mechanics of this particular situation are totally lost ...
0
votes
0
answers
31
views
cant upload preloaded images + new uploaded images in UpdateProduct page via asp-form [closed]
this is gonna be a long one so if you help me i would really appreciate it.
i have a page where both create and update product is.
my create page works find but i want this page to do update too so ...
-1
votes
1
answer
50
views
Having issues launching Visual Studio 2019 and creating standalone .EXE in Visual Studio 2022 like in Visual Studio 2019 [closed]
My habits have been ruined lately since a windows update (it seems) corrupted a file in .Net Framework, named clr.dll, preventing Visual Studio 2019 from launching (and not only that software). It ...
-1
votes
0
answers
31
views
Nea 2d game on unity need help to present interactable sprites and make words appear when typing [closed]
I am creating a 2D game inspired by both Papers Please and Not my neighbour. At the moment I have a character which appears onto my screen and is meant to present documents which I am then able to ...
1
vote
1
answer
29
views
Pass item group elements to custom task array parameter in msbuild
I have a custom task written in C#. This custom task has an argument defined like this:
public required string[] StringArray { get; set; }
Then in a .csproj file I have these definitions:
<...
1
vote
0
answers
61
views
IHost does not release log file after Dispose()
I'm trying to read a log file that was written from a custom ILoggerProvider in a dotnet application:
HostApplicationBuilder builder = Host.CreateApplicationBuilder();
builder.Logging.ClearProviders();...
0
votes
0
answers
35
views
WPF Modal Window renders completely white (blank) in Hybrid WinForms application under load
I am maintaining a legacy hybrid application (Main App is WinForms, hosting WPF UserControls via ElementHost).
The Problem:
When opening a WPF Modal Window (Window.ShowDialog()) from the WinForms main ...
-1
votes
0
answers
66
views
What caused an unexpected build error in C# with Visual Studio [closed]
I have a C# program, and I am using Microsoft Visual Studio. I have been able to build and run the program without any issue for a long time. Now, unexpectedly I get this error:
I:\source\megaSearch\...
0
votes
0
answers
64
views
xUnit Testing in Testing Explorer
I'm trying to add tests to my MAUI app.
I added the xUnit test project to a separate namespace. The tests only run in the terminal with the dotnet test command.
If I use the test explorer, it doesn't ...