Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
With the latest Xamarin.Forms, if I add Xamarin.Forms Xaml file to a project, its File Properties (displayed in Properties Pane) is:
Build Action: Embedded Resource
However, if I right-click the .xaml file, select "Exclude From Project" and then right-click it again, selecting "Include In Project", its File Properties display as:
Build Action: Page
I would expect that the file properties would be the original default values that are specified when adding this item to the project initially.
Please let me know if you have any further questions around this and I will try to answer them the best that I can.
In Xamarin.Forms apps, the XAML files will live inside the PCL projects. The place where this default behavior exists is in the project system, so we can't override it for PCLs.
Pretty much the same happens with Shared Asset projects, we don't provide that project system either.
I'll pass this along to the respective teams to see if we can tweak this behavior from our Xamarin targets moving forward.
Thanks a lot for reporting it!