View Issue Details

IDProjectCategoryView StatusLast Update
0001283NoesisGUIC# SDKpublic2021-10-19 19:07
Reportersamos Assigned Tosfernandez  
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version2.1.0f1 
Target Version3.1.2Fixed in Version3.1.2 
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 resolvedsfernandez Code-behind classes in unloaded assemblies 
related to 0001016 resolvedsfernandez .NET assemblies are not loaded when parsing XAML 

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 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