View Issue Details

IDProjectCategoryView StatusLast Update
0001283NoesisGUIC# SDKpublic2019-08-23 01:03
ReportersamosAssigned Tosfernandez 
PriorityhighSeveritymajorReproducibilityalways
Status assignedResolutionopen 
Product Version2.1.0f1 
Target Version2.2.5Fixed in Version 
Summary0001283: Unknown type exception referencing custom control from seperate dll
DescriptionWhen 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 ReproduceOpen 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 InformationThis 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.
TagsNo tags attached.
PlatformAny

Relationships

related to 0001320 assignedsfernandez Code-behind classes in unloaded assemblies 

Activities

samos

samos

2018-04-08 12:34

reporter  

CustomControl.zip (4,648,053 bytes)
sfernandez

sfernandez

2018-04-10 23:00

manager   ~0005182

Noesis doesn't automatically load assemblies.
You should load them into the domain before starting loading any xaml.

Are you already doing that?
samos

samos

2018-04-11 11:18

reporter   ~0005186

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.

Kind Regards

Steve

Issue History

Date Modified Username Field Change
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 Target Version => 2.2.5