View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001804 | NoesisGUI | Unity3D | public | 2020-10-08 17:46 | 2021-03-15 17:10 |
Reporter | bmello4688 | Assigned To | sfernandez | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | feedback | Resolution | open | ||
Product Version | 3.0.6 | ||||
Target Version | 3.0.12 | Fixed in Version | |||
Summary | 0001804: Unable to view embedded user controls in xaml | ||||
Description | When referencing another user control in your xaml. Noesis does not display the embedded control. When using Databindings the application can crash Example <UserControl x:Class="Simity.Studio.UI.Editor.Views.MainView" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:v="clr-namespace:Simity.Studio.UI.Editor.Views" xmlns:vm="clr-namespace:Simity.Studio.UI.Editor.ViewModels" xmlns:dvm="clr-namespace:Simity.Studio.UI.Editor.ViewModels.Dialogs" xmlns:c="clr-namespace:Simity.Studio.UI.Editor.Views.Converters" mc:Ignorable="d" d:DesignHeight="450" d:DesignWidth="800"> <UserControl.Resources> <!--<DataTemplate DataType="{x:Type vm:RobotEditorViewModel}"> <v:RobotEditorView/> </DataTemplate> <DataTemplate DataType="{x:Type dvm:SelectNewOrExistingProjectViewModel}"> <v:SelectNewOrExistingProjectDialog/> </DataTemplate> <DataTemplate DataType="{x:Type dvm:ProgressDialogViewModel}"> <v:ProgressDialog/> </DataTemplate>--> <c:BoolToVisibilityConverter x:Key="BoolToVisibilityConverter"/> </UserControl.Resources> <Grid> <!--<UserControl Visibility="{Binding ShowDialog, Converter={StaticResource BoolToVisibilityConverter}}" Content="{Binding Dialog}"/> <UserControl Content="{Binding MainContent}"/>--> <v:SelectNewOrExistingProjectDialog/> <v:RobotEditorView/> </Grid> </UserControl> | ||||
Steps To Reproduce | Create a xaml that references a previously made user control | ||||
Tags | Unity | ||||
Platform | Windows | ||||
Here is an example project. Check out MainView.xaml. You can also uncomment the commented out stuff to really test it with a viewmodel first architecture. Noesis.zip (1,451,641 bytes) |
|
Hi, I opened the project in Unity, imported NoesisGUI 3.0.6 unity package, and there are a lot of compiler errors due to missing code (Splat, ReactiveUI, System.Reactive). How are you including those assemblies in Unity so scripts can be compiled correctly? |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2020-10-08 17:46 | bmello4688 | New Issue | |
2020-10-08 17:46 | bmello4688 | Tag Attached: Unity | |
2020-10-08 18:08 | bmello4688 | File Added: Noesis.zip | |
2020-10-08 18:08 | bmello4688 | Note Added: 0006659 | |
2020-10-08 18:09 | bmello4688 | Note Edited: 0006659 | View Revisions |
2020-10-20 12:42 | sfernandez | Assigned To | => sfernandez |
2020-10-20 12:42 | sfernandez | Status | new => feedback |
2020-10-20 12:42 | sfernandez | Note Added: 0006697 | |
2020-10-20 12:42 | sfernandez | Product Version | 3.0 => 3.0.6 |
2020-10-20 12:42 | sfernandez | Target Version | => 3.0.7 |
2020-10-29 17:52 | jsantos | Target Version | 3.0.7 => 3.0.8 |
2020-12-03 13:12 | jsantos | Target Version | 3.0.8 => 3.0.9 |
2021-01-12 01:06 | jsantos | Target Version | 3.0.9 => 3.0.10 |
2021-02-10 18:30 | jsantos | Target Version | 3.0.10 => 3.0.11 |
2021-03-15 17:10 | jsantos | Target Version | 3.0.11 => 3.0.12 |