9,988 questions
0
votes
1
answer
54
views
Mono: can't access API with self-signed certificate - MonoBtlsException: Ssl error:1000007d:SSL
I have a Mono container (mono:6.12.0.182) and it has some host.testcontainers.internal:[PORT] exposed to it.
I will be using this to integration test a legacy .NET client application against a new API(...
0
votes
0
answers
77
views
dotnet build command overrides C# dll name
I have a c++ cmake project with multiple subprojects, one of those is ScriptCore which is just a ScriptCore.csproj and a few .cs scripts. The cmake file for this subproject runs the following command:
...
4
votes
3
answers
175
views
How to calculate largest float smaller than input integer in C#?
I need a C# function that takes in an integer and returns a float, which is the largest float smaller than that integer. In normal (not floating point) math, this is an example:
For input of 5 the ...
0
votes
0
answers
131
views
Maui Android: System.InvalidOperationException: Internal error: architecture 'X86_64' should have 150 assemblies, however it has 178
I am building a MAUI App, and in debug mode it works well but in release mode it is not run.
Here is the error:
System.InvalidOperationException: Internal error: architecture 'X86_64' should have 150 ...
0
votes
0
answers
20
views
chmod in c# for android fails to work. What to do?
public static void SetFilePermissions(string filePath, FileAccessPermissions permissions)
{
try
{
var fileInfo = new UnixFileInfo(filePath);
fileInfo.FileAccessPermissions = ...
0
votes
1
answer
151
views
DLLNotFoundException (e_)sqlite3
I'm exporting an Android game from Godot 4.4dev3 with SQLite and having issues getting it to work. It works on desktop. It always results in a DllNotFound error. I am only targetting arm64-v8a on the ...
0
votes
1
answer
65
views
How to Refactor Duplicate Logic in Mono-Based Service Methods Without Changing Return Types?
I have two methods in my Spring Boot controller implementation class. One deletes a user, and the other deletes a TnC (Terms and Conditions). Both methods contain duplicate logic for error handling ...
0
votes
0
answers
64
views
Memory leaks when embedding C# Mono into a C++ project
Currently I am trying to embed C# Mono into my MSVC C++ project, but I experienced a large amount (maybe hundreds) of memory leaks. (I ran _CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF); ...
1
vote
0
answers
40
views
How does Mono enable ETL files to capture both native and managed call stacks?
I am conducting a research project and have encountered an issue with an older version of Mono (a modified version used in Unity, around 2015-2016, exact version unknown). When using a profiling tool ...
0
votes
0
answers
49
views
(C#/Mono.Cecil) Determining all exit instructions of a Method using just OpCodes
While making a game with Unity, was looking for a similar solution to PostSharp's OnMethodBoundaryAspect.OnExitas described in this blog.
However, it doesn't look like PostSharp can be used with Unity ...
0
votes
0
answers
83
views
In mono some winform native components does not display text
At some linux env. mono 6. My code used winform native component(suchFolderBrowserDialog,FontDialog).
When the componment pop up. There is not text on the component's button.
But other custom ...
0
votes
0
answers
74
views
Encrypted TLS 1.2 connection don't created between the .net framework 4.7.2 client and ActiveMQ Artemis
During the project's working proccess I get null in the line: connection = await connectionFactory.CreateAsync(endpoints); without any exception. ActiveMQ Artemis also does not record any errors ...
0
votes
1
answer
516
views
(Godot 4.3) How to force richtextlabel to use mono font only
I would like to make the RichTextLabel node only use mono-spaced font, but just placing a mono font (not placing a normal font) doesn't work. Also, placing mono font in the normal font seems to offset ...
1
vote
2
answers
415
views
SignalR Client implementation in unity works in editor but not in Android
I am using signalR client in unity for a real-time Android game.
So, when i run game in Unity editor, everything is fine, But when i built it for android, i
realize that it didn't connect to Hub ...
0
votes
1
answer
139
views
Calling `pod install` from a System.Diagnostics.Process
When we build our Unity project for iOS, it generates an Xcode project which uses Cocoapods. I'm trying to make a build post-process script (C#, running in the Unity Editor) that edits the Podfile and ...
0
votes
0
answers
52
views
Running a .NET application from a SMB share on Mint (using Mono)
I have a .NET (framework) application that I have been able to run, from a Network Share, on a laptop running MINT, by simply installing the "Mono-Complete" package.
However, what I'm trying ...
2
votes
1
answer
419
views
Error in webflux webclient with response 200
I am creating an example usisng spring boot webflux that is super simple. Two services and one of them call reactively two times the service of the other.
Bascially one controller of the flights "...
1
vote
1
answer
36
views
GameObjects fall downwards in Unity when they should MoveTowards spaceship
I'm making my first C# game/program with Unity. Basically, the meteoroids should move towards the spaceship but they lose velocity and start falling downwards. The code below worked before I added the ...
0
votes
1
answer
40
views
Why does .NET Wasi.Sdk throw on garbage collection?
When using the .NET WASI SDK it seems the garbage collector throws, either when it runs itself in the background or when called explicitly.
I lodged an issue on Github but Microsoft are not responding ...
0
votes
0
answers
83
views
Build flatpak package for a GtkSharp application
I have a mono gtk-sharp3 application with glade files that I need to turn into a Flatpak package. After the first fail, I decided to make a simple gtksharp app without glade first and try with that, ...
0
votes
1
answer
341
views
VimeoDotNet: How to resolve "Mono.Btls.MonoBtlsException: Ssl error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED" error?
I have a Xamarin application running, and everything was working fine until recently. I'm using a VimeoDotNet package to interact with the VimeoAPI. However, it's starting to throw this error these ...
0
votes
1
answer
173
views
How to get Assembly when loading assembly using mono_assembly_load_from?
I load assemblies into the application using Mono methods. The problem is that when I load the assembly I get only IntPtr, but I need System.Reflection.Assembly. How to get it using IntPtr?
Methods I ...
0
votes
2
answers
164
views
How to Enable Runtime Code Changes and Move Execution Pointer in Blazor WASM Client-Side Debugging with Mono/C#?
I'm currently working on a Blazor WebAssembly (WASM) .NET5 application and facing a challenge with client-side debugging: I'm looking to enable runtime code changes and move the execution pointer, ...
0
votes
1
answer
54
views
How do I obtain static property value through mono debug wire?
I am trying to control Unity Editor over Mono Debugger Wire Protocol. I want to obtain value of public static property.
The following is my attempt:
using VirtualMachine = Mono.Debugger.Soft....
0
votes
0
answers
50
views
compiled & installed mono 6,12,0.199 on RHEL8, vbc complains, csc succeeds
Trying to compile hello.vb:
Imports System
Module Module1
Sub Main()
Console.WriteLine("Hello world")
End Sub
End Module
$ vbc hello.vb
Microsoft (R) Visual Basic Compiler version ...