Project referencing with resources #17323
cconner100
started this conversation in
General
Replies: 1 comment
-
Thanks for the question. You can find a guide on how to create control libraries, which is similar to creating common resources. The Visual Studio XAML intellisense will properly detect resources referenced from app.xaml, even if they're included in a separate class library. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This may be a vs tooling question but will try here first.
I have a Uno.Sdk project, which has 2 references to other uno.sdk class libraries.
One reference called common contains the resourcedictionary.xaml that will contain all the UI resource setting i wish for this project.
In my main Uno.Sdk project i have the App.xaml make the reference to the common class library and its resources like this.
`<Application.Resources>
</Application.Resources>`
Now i have another Uno.Sdk class library that I want to contain the screens that will be used in the app, lets call it views
The question is how can i have the views class reference the resources in common? And at design time how can the vs editor know about these static resources?
thanks
Beta Was this translation helpful? Give feedback.
All reactions