Xamarin Folder Structure Explained RRS feed

  • Question

  • Just started Xamarin Coding I am a bit confused about the structure of the folders.

    The Folder structure should look like this:


          Shared Folder

          Android Folder

          iOS Folder

          UWP Folder

    Each one has their own code files

    If I understand correctly, the shared folder that appears at the top of the folder should contain all the code and interface that can be used across the other platforms.

    But what would happen if I put code into the other folders and how would it affect the app overall?

    And what if I just wanted to test code that should only work in iOS?

    And if the shared folder is able to work across different platforms then what is the point of having different folders for different platforms?
    • Edited by patreilly Wednesday, April 18, 2018 2:36 PM
    • Moved by CoolDadTx Wednesday, April 18, 2018 3:15 PM Xamarin related
    Wednesday, April 18, 2018 2:33 PM

All replies

  • This forum is for C#-specific questions only. Please post questions related to Xamarin in their forums.

    Michael Taylor http://www.michaeltaylorp3.net

    Wednesday, April 18, 2018 3:15 PM