View Issue Details

IDProjectCategoryView StatusLast Update
0001649NoesisGUIUnitypublic2020-04-09 20:24
Reporterstonstad Assigned Tosfernandez  
PrioritynormalSeverityminor 
Status resolvedResolutionno change required 
Product Version3.0.0 
Summary0001649: Compile Errors - Disambiguation Needed
Description

FilterPredicate.cs uses a type that cannot be resolved due to two types having the same name (System.ComponentModel) and System.Collections.Specialized. See included error message for details.

Steps To Reproduce

Import Noesis 3.0.6 into a project.

Attached Files
Errors.PNG (51,882 bytes)   
Errors.PNG (51,882 bytes)   
PlatformAny

Activities

stonstad

stonstad

2020-04-08 20:13

reporter   ~0006174

Resolved through the following disambiguation using statements:

using System.Collections;
using System.ComponentModel;
using INotifyCollectionChanged = System.Collections.Specialized.INotifyCollectionChanged;
using NotifyCollectionChangedAction = System.Collections.Specialized.NotifyCollectionChangedAction;
using NotifyCollectionChangedEventArgs = System.Collections.Specialized.NotifyCollectionChangedEventArgs;

stonstad

stonstad

2020-04-08 20:14

reporter   ~0006175

Also needed w/ SortComparer.

sfernandez

sfernandez

2020-04-09 13:16

manager   ~0006179

What platform, scripting backend and API compatibility level are you using?
I tried on Windows with Mono/IL2CPP and .NET 4.6/.NET Standard 2.0 and I'm not getting those compiler errors.
Those classes shouldn't exist on System.ComponentModel namespace.

stonstad

stonstad

2020-04-09 17:26

reporter   ~0006181

Scripting Backend: IL2CPP
API Compat Level: .NET 4.x

OK, it turns out Newtonsoft.Json defines System.ComponentModel shims which use the same namespace. I don't believe there is anything to fix here.

Cause.png (11,629 bytes)   
Cause.png (11,629 bytes)   
sfernandez

sfernandez

2020-04-09 20:23

manager   ~0006184

Ok, thanks for the feedback, I'm closing this.

Issue History

Date Modified Username Field Change
2020-04-08 20:11 stonstad New Issue
2020-04-08 20:11 stonstad File Added: Errors.PNG
2020-04-08 20:13 stonstad Note Added: 0006174
2020-04-08 20:14 stonstad Note Added: 0006175
2020-04-09 13:16 sfernandez Assigned To => sfernandez
2020-04-09 13:16 sfernandez Status new => feedback
2020-04-09 13:16 sfernandez Note Added: 0006179
2020-04-09 17:26 stonstad File Added: Cause.png
2020-04-09 17:26 stonstad Note Added: 0006181
2020-04-09 17:26 stonstad Status feedback => assigned
2020-04-09 20:23 sfernandez Status assigned => resolved
2020-04-09 20:23 sfernandez Resolution open => no change required
2020-04-09 20:23 sfernandez Note Added: 0006184
2020-04-09 20:24 sfernandez Product Version 3.0 => 3.0.0
2025-10-10 13:29 jsantos Category Unity3D => Unity