yambo
yambo
CC#
Created by yambo on 5/25/2024 in #help
Opening DB Connection: Object cannot be cast from DBNull to other types
No description
2 replies
CC#
Created by yambo on 5/7/2024 in #help
The type initializer for '<Module>' threw an exception.
Hello, I am currently unit testing my solution (not much has been programmed at all) and a few days ago all my tests (1 test lol) ran perfectly fine. Today I get this error (i also made another test project with a different testing framework, still same error): System.TypeInitializationException : The type initializer for '<Module>' threw an exception. ---- System.TypeInitializationException : The type initializer for 'WinRT.ActivationFactory1' threw an exception. -------- System.Runtime.InteropServices.COMException : Class not registered (0x80040154 (REGDB_E_CLASSNOTREG)) A friend of mine can also reproduce this error. All we have is a xUnit test project and a MAUI project with one class (no ui implementation at all) Stack Trace:  ItemGroupDTOTests.VerifyItemGroupDTOHoldsInputValues() RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor) MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) ----- Inner Stack Trace ----- ActivationFactory1.ActivateInstanceI DeploymentInitializeOptions.ctor() AutoInitialize.get_Options() line 44 AutoInitialize.AccessWindowsAppSDK() line 30 cctor() ----- Inner Stack Trace ----- Marshal.ThrowExceptionForHR(Int32 errorCode) BaseActivationFactory.ctor(String typeNamespace, String typeFullName) ActivationFactory1.ctor() ActivationFactory1.cctor()
12 replies
CC#
Created by yambo on 4/26/2024 in #help
WPF binding problem in datagrid header
No description
26 replies