How to add XAML with *.cs file code behind?
Answered
How to add XAML with *.cs file code behind?
It is essential for Xamarin Development.
Please sign in to leave a comment.
Hey, this is not supported at the moment, please watch RIDER-8956 for updates.
Hi! Creation of .xaml files linked to .cs files it is extremely common use case for Xamarin projects and looks like very required feature. It will be awersome to see it in Rider. Thanks!
This is still missing for Xamarin shared code projects, despite being marked as resolved.
It shows up on the platform specific project though. This makes no sense, as forms belong in the shared project.
@Ian - it's "Xamarin Forms" template under your screenshot:
And our team already successfully used it for some time. You are welcome ;-D
@Udzmitrovich, you missed the point of my message. Please recheck my comments. It shows up only under the platform-specific projects, which is useless. The option does not show up under the shared project, which is where all Xamarin.Forms pages belong.
Ah, now I see. Sorry. I was confused because our team have this option in all projects including shared .netstandard20:
Ahh, so it does work with .netstandard20 shared libraries... That's probably the issue. This project is using the other shared project approach rather than a shared library.
Lots of projects use the shared library approach (not .netstandard20) So it is important to make this work for them as well. If not, i guess many xamarin developers will not adopt to Rider and stick with visual studio...