View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002463 | NoesisGUI | C# SDK | public | 2022-11-18 17:45 | 2022-11-18 18:13 |
Reporter | jsantos | Assigned To | sfernandez | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.1.5 | ||||
Target Version | 3.1.6 | Fixed in Version | 3.1.6 | ||
Summary | 0002463: Error Can't register embedded resources in C# SDK | ||||
Description | I have a project that builds and runs fine on 3.1.2. However, after updating the NuGet packages to 3.1.5, I am given this error: [NOESIS/W] Can't register embedded resources for 'NoesisDotNetFrameworkTest', no common namespace in types and resources found [NOESIS/E] Xaml not found 'App.xaml' Exception thrown: 'System.InvalidOperationException' in Noesis.App.dll An unhandled exception of type 'System.InvalidOperationException' occurred in Noesis.App.dll Startup window not defined | ||||
Tags | No tags attached. | ||||
Platform | Any | ||||
In 3.1.6 we have changed a bit the way Embedded resources are loaded. Note that this is our implementation in the App Framework and it can be changed to a different one by client code. 1. Assembly is now always mandatory (as in WPF) Noesis.GUI.LoadComponent(this, "/Localization;component/MainWindow.xaml"); 2. The URIs must be prepended with the RootNamespace. We recommend setting it to empty in your csproj <RootNamespace></RootNamespace> https://learn.microsoft.com/en-us/dotnet/api/microsoft.visualstudio.vcprojectengine.vcproject.rootnamespace?view=visualstudiosdk-2019 We have added better error messages to help with the migration. All our examples have been updated. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2022-11-18 17:45 | jsantos | New Issue | |
2022-11-18 17:45 | jsantos | Assigned To | => sfernandez |
2022-11-18 17:45 | jsantos | Status | new => assigned |
2022-11-18 17:45 | jsantos | Status | assigned => resolved |
2022-11-18 17:45 | jsantos | Resolution | open => fixed |
2022-11-18 17:45 | jsantos | Fixed in Version | => 3.1.6 |
2022-11-18 17:51 | jsantos | Note Added: 0008168 | |
2022-11-18 17:51 | jsantos | Note Edited: 0008168 | |
2022-11-18 17:54 | jsantos | Target Version | => 3.1.6 |
2022-11-18 18:12 | jsantos | Note Edited: 0008168 | |
2022-11-18 18:13 | jsantos | Note Edited: 0008168 |