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 comments
Comment actions Permalink

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

1
Comment actions Permalink

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
Comment actions Permalink

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
Comment actions Permalink

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

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

0
Comment actions Permalink

@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
Comment actions Permalink

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

0
Comment actions Permalink

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
Comment actions Permalink

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.