View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001283||NoesisGUI||C# SDK||public||2018-04-08 12:34||2021-10-19 19:07|
|Target Version||3.1.2||Fixed in Version||3.1.2|
|Summary||0001283: Unknown type exception referencing custom control from seperate dll|
|Description||When trying to load a custom control that has been created in a seperate project Noesis GUI 2.1 throws an unknown type error.|
XAML shown as being valid in WPF Designer.
|Steps To Reproduce||Open attached project and run. |
The TimeConverter Class has been moved from the main project to a seperate project, this causes the unknown type error.
including the TimeConverter Class back into the main project causes it to work again, even though the reference object in the XAML is from the external DLL.
|Additional Information||This same error causes other issues also.|
If creating a style in a resource dictionary that references a type that is in an external DLL, then a type not found exception is raised.
|Tags||No tags attached.|
CustomControl.zip (4,648,053 bytes)
Noesis doesn't automatically load assemblies.
You should load them into the domain before starting loading any xaml.
Are you already doing that?
Suspected that may be the response. I am investigating whether I can port an existing WPF LOB application to Noesis at the moment. The application is structured into multiple projects for ease of maintenance and extendability. WPF is obviously taking care of loading assemblies into the app domain when they are needed, so we don't see this issue.
For now I will pre-load assemblies at startup.
Thanks for the response, and Noesis 2.1 is looking nice.
|2018-04-08 12:34||samos||New Issue|
|2018-04-08 12:34||samos||File Added: CustomControl.zip|
|2018-04-10 23:00||sfernandez||Assigned To||=> sfernandez|
|2018-04-10 23:00||sfernandez||Status||new => feedback|
|2018-04-10 23:00||sfernandez||Note Added: 0005182|
|2018-04-11 11:18||samos||Note Added: 0005186|
|2018-04-11 11:18||samos||Status||feedback => assigned|
|2018-11-01 02:14||jsantos||View Status||public => private|
|2018-11-22 13:22||sfernandez||View Status||private => public|
|2018-11-22 13:22||sfernandez||Platform||=> Any|
|2018-11-22 13:22||sfernandez||Relationship added||related to 0001320|
|2019-08-23 01:03||sfernandez||Relationship added||related to 0001016|
|2019-08-23 01:03||sfernandez||Target Version||=> 2.2.5|
|2019-09-26 12:24||sfernandez||Target Version||2.2.5 => 2.3.0|
|2021-10-19 19:07||sfernandez||Target Version||=> 3.1.2|
|2021-10-19 19:07||sfernandez||Status||assigned => resolved|
|2021-10-19 19:07||sfernandez||Resolution||open => fixed|
|2021-10-19 19:07||sfernandez||Fixed in Version||=> 3.1.2|