Relative file paths and Target Framework Monikers (TFM)
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- csharp
- Domain
- build-system, tooling
Research direction
The payload names no source files, tests, or entry points. Start by locating the TFM-specific Xcode project generation and static-file synchronization logic; done means validating the relative-path behavior for Platforms/iOS, Platforms/MacCatalyst, and single-TFM projects without disrupting other project types.
Written by the indexing model from the issue text.
Description
When copying static file content in either direction, the files relative path is kept intact. That is if the file bar.storyboard is in a subfolder foo under the .NET project folder. Then the file is copied into a subfolder name foo in the Xcode project.
This is fine until you consider the .NET MAUI project. .NET MAUI segregates platform specific files in the Platforms folder, so iOS-specific files are in the Platforms/iOS and Mac Catalyst files are in the Platforms/MacCatalyst folder. It is expected that .storyboard, .xib, files and .xcassets folders would reside under the appropriate platform folder. In that case those files/folders are copied to the Xcode project correctly, in a subfolder Platforms/iOS or Platforms/MacCatalyst
However, since by default, the Xcode project is generated in a TFM specific folder, and each Xcode project generated for a specific TFM when generating or syncing the project with a specified TFM, or if there is only one supported TFM, then the relative path for Platforms/iOS and Platforms/MacCatalyst can be removed. This makes the .NET MAUI project projection to Xcode appear similar to a non-MAUI project resulting in a unified user experience across different project types.
- Dominant language
- C#
- Stars
- 25
- Forks
- 10
- Avg merge
- 12h 50m
- Merged PRs (30d)
- 10
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from dotnet/xcsync
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Similar issues
-
type/automation type/tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
t/bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
ci-failure-cause test-failure
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
area:auth FE mvp P3
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
klasolsson81/jobbliggaren#1788 ·