Build whole Maui app (including Windows) on any OS
- Dominant language
- C#
- Stars
- 23.3k
- Forks
- 2k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 290
Description
### Description
A brand new Maui app project includes these two lines:
```xml
net6.0-android;net6.0-ios;net6.0-maccatalyst
$(TargetFrameworks);net6.0-windows10.0.19041
```
Why can I target any OS on any OS *except* (of all things) target Windows from another OS? I like to build on Linux agents because they build my software faster than any other. What is it about targeting Windows that requires being on a Windows agent?
### Public API Changes
N/A
### Intended Use-Case
I want to build my app in its entirety from any dev box or build agent.
> VS bug [#1849778](https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1849778)
Contributor guide
Research direction
Start by examining the two TargetFrameworks entries in the new MAUI project file and the condition that adds net6.0-windows10.0.19041. Read the linked VS bug for existing constraints and determine what would need to change for a non-Windows build agent. Done means the complete app builds, including the Windows target, from another OS.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- build-system, operating-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100