An open API service indexing awesome lists of open source software.

https://github.com/redth/xamarinsingleprojectconcept

Working area for development a concept of what Single Projects could look like for Xamarin in net6
https://github.com/redth/xamarinsingleprojectconcept

Last synced: 3 months ago
JSON representation

Working area for development a concept of what Single Projects could look like for Xamarin in net6

Awesome Lists containing this project

README

          

# XamarinSingleProjectConcept

This repo contains a working area for refining the concept of a single project in Xamarin for .NET 6.0.

As the name implies, a single project assumes only one project (.csproj) file which uses multitargeting is used to target `net6.0-ios`, `net6.0-android`, etc platforms.

Single projects would have some default patterns enabled for including files such as these:

```xml













```

These patterns assume some conventions:

- Platform specific code goes either in Platform specific folders (eg: `Android`), or inside `#ifdef` blocks
- The `Shared` folder contains code and resources which are multitargeted
- Resources specific to a platform go in the platform folders

NuGet needs some work so that the UI can target packages to a specific platform when multitargeting if necessary. For now, developers will need to add conditions around their package references where necessary:

```xml

```