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
- Host: GitHub
- URL: https://github.com/redth/xamarinsingleprojectconcept
- Owner: Redth
- License: mit
- Created: 2020-09-16T14:41:56.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-16T16:21:58.000Z (almost 6 years ago)
- Last Synced: 2025-04-10T00:17:41.578Z (about 1 year ago)
- Language: C#
- Size: 165 KB
- Stars: 8
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```