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.

8
8 comments

Hey, this is not supported at the moment, please watch RIDER-8956 for updates.

1

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!

0

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.

0

@Ian - it's "Xamarin Forms" template under your screenshot:

And our team already successfully used it for some time. You are welcome ;-D

0

@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.

0

Ah, now I see. Sorry. I was confused because our team have this option in all projects including shared .netstandard20:

0

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.

0

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...

0

Please sign in to leave a comment.