View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001771 | NoesisGUI | Unity | public | 2020-08-04 18:52 | 2020-08-10 17:36 |
| Reporter | real_mikhail | Assigned To | sfernandez | ||
| Priority | normal | Severity | major | ||
| Status | resolved | Resolution | no change required | ||
| Product Version | 3.0.2 | ||||
| Target Version | 3.0.5 | Fixed in Version | 3.0.5 | ||
| Summary | 0001771: Noesis doesn't allow to use "custom UserControl" in xaml | ||||
| Description | Currently for each UI's code behind I have following code:
I wanted to avoid that, and for that I've created my custom UserControl class:
And this way I don't have to use #if directives in my UIs. Xaml in that case looks following:
And that works perfectly in WPF (in blend solution). But in Unity (in Noesis) I'm getting following error: | ||||
| Attached Files | |||||
| Platform | Any | ||||
|
Hello, I might be missing something because in the attached test I made it is working as expected (using NoesisGUI 3.0.4). |
|
|
Hm... I cannot reproduce it anymore. Might be my bad - there was a compilation error in another script (ambiguous reference to UserControl) and because of that Noesis failed to process/import xaml with this custom UserControl. As soon as I fixed this C# error -- importing was successful. Sorry for troubles. |
|
|
That makes sense, if assembly was not compiled the parser wouldn't be able to find your custom type and failed. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2020-08-04 18:52 | real_mikhail | New Issue | |
| 2020-08-04 18:52 | real_mikhail | Tag Attached: xaml | |
| 2020-08-04 18:54 | real_mikhail | Description Updated | |
| 2020-08-05 11:11 | jsantos | Assigned To | => sfernandez |
| 2020-08-05 11:11 | jsantos | Status | new => assigned |
| 2020-08-05 11:11 | jsantos | Target Version | => 3.0.5 |
| 2020-08-10 12:02 | sfernandez | File Added: CustomRoot.unitypackage | |
| 2020-08-10 12:02 | sfernandez | Note Added: 0006557 | |
| 2020-08-10 12:02 | sfernandez | Status | assigned => feedback |
| 2020-08-10 17:13 | real_mikhail | Note Added: 0006564 | |
| 2020-08-10 17:13 | real_mikhail | Status | feedback => assigned |
| 2020-08-10 17:36 | sfernandez | Note Added: 0006565 | |
| 2020-08-10 17:36 | sfernandez | Status | assigned => resolved |
| 2020-08-10 17:36 | sfernandez | Resolution | open => no change required |
| 2020-08-10 17:36 | sfernandez | Fixed in Version | => 3.0.5 |
| 2025-10-10 13:29 | jsantos | Category | Unity3D => Unity |