You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 1, 2024. It is now read-only.
I have a solution with 10 project and each project has some components of my app
assembly A = model
assembly B = Infrastructure of ViewModels
assembly C = Infrastructure of Views (Costum controls)
Assembly D = User management views and viewmodels
Assembly E = Main application views and viewmodels
and ....
each of assemblies has its custom namespaces.
for example, converters is exists on assembly A,B,C,D and I defined
In assembly A :
[assembly: XmlnsDefinition("http://schemas.apadanasystems.com/xaml/Converters", "AppModel.Web.Converters")]
In assembly C
[assembly: XmlnsDefinition("http://schemas.apadanasystems.com/xaml/Converters", "StandardView.Converters")]
some times I can run project with build several time each project on solution hierarchy. after several build, this error will removed!!!
for each chaging in project and run it, I must do it again. some times I can run project and some time not!!!
if disable xaml compilation, working properly without any problem
Can you please attach a small project that demonstrates this issue? Thanks!
samhouts
added
s/needs-info ❓
A question has been asked that requires an answer before work can continue on this issue.
s/needs-repro ❔
This reported issue doesn't include a sample project reproducing the issue. Please provide one.
a/Xaml </>
labels
Jun 1, 2020
OK. I created a sample and uploaded it for your test.
if u want to run this example, please comment all [XamlCompilation(XamlCompilationOptions.Compile)]
in all pages. app will runing and work like charm.
visual studio intelligence working properly.
you can see error, only in build time, if [XamlCompilation(XamlCompilationOptions.Compile)] exist on pages.
BR
samhouts
removed
s/needs-info ❓
A question has been asked that requires an answer before work can continue on this issue.
s/needs-repro ❔
This reported issue doesn't include a sample project reproducing the issue. Please provide one.
labels
Jun 2, 2020
I have a solution with 10 project and each project has some components of my app
assembly A = model
assembly B = Infrastructure of ViewModels
assembly C = Infrastructure of Views (Costum controls)
Assembly D = User management views and viewmodels
Assembly E = Main application views and viewmodels
and ....
each of assemblies has its custom namespaces.
for example, converters is exists on assembly A,B,C,D and I defined
In assembly A :
[assembly: XmlnsDefinition("http://schemas.apadanasystems.com/xaml/Converters", "AppModel.Web.Converters")]
In assembly C
[assembly: XmlnsDefinition("http://schemas.apadanasystems.com/xaml/Converters", "StandardView.Converters")]
the goal is that map all converter class on all assemblies to "http://schemas.apadanasystems.com/xaml/Converters" schema.
in build time, I see error "Type * not found in http://schemas.apadanasystems.com/xaml/Converters"
some class found by debug process and some others not found
I think thats means each schema can use for one assembly and one namespace!
if disable xaml compilation, working properly without any problem
The text was updated successfully, but these errors were encountered: