Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

How to add existing XAML files from Windows VS Solution to a Visual Studio for Mac solution.

$
0
0

Hi,

I have created a PCL project targetting Android on Visual Studio 2105 on Windows.

The project has been compiled for Android and it works without any issue.

Now I want to use the same PCL project for iOS and so created a new project in Visual Studio for Mac on a Mac desktop.

Now when I try to add existing XAML files in the PCL project, it does not include the xaml.cs code behind file.

I also observed that the type of file is None for a XAML file whereas it should be Content or Embedded Resource. Verified that by adding a new "Forms Content Page XAML"

Is there any particular way to importing existing XAML files along with their corresponding code behind files.

Thanks,

Rajesh.


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>