admin管理员组文章数量:1349193
In my solution, I have a main maui project and a library project containing some custom UI components. For both projects I have set
<MauiEnableXamlCBindingWithSourceCompilation>true</MauiEnableXamlCBindingWithSourceCompilation>
For main project everything works fine. However, for the library project I get warnings
Binding was not compiled because it has an explicitly set Source property and compilation of bindings with Source is not enabled. Consider enabling this optimization by setting the <MauiEnableXamlCBindingWithSourceCompilation>true</MauiEnableXamlCBindingWithSourceCompilation> in your project file and make sure the correct x:DataType is specified for this binding. See for more information.
What am I missing? How do I get the library project to also detect that I have MauiEnableXamlCBindingWithSourceCompilation enabled in project configuration?
本文标签: cCannot enable compiled bindings with source for a library projectStack Overflow
版权声明:本文标题:c# - Cannot enable compiled bindings with source for a library project - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743845904a2549115.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论