.net maui - Bundle Resource '.DS_Store' not found on disk

Jerome Mx 21 Reputation points
2024-01-25T16:04:17.6+00:00

with no code changes at all I started getting the below inscrutable build error, which is completely blocking development of this app and I've been unable to find any clues online.. if anyone can help it'd be v much appreciated.

     /usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/16.4.7125/tools/msbuild/iOS/Xamarin.Shared.targets(3,3): Error:   Bundle Resource '.DS_Store' not found on disk (should be at '/Users/jerome/Documents/2022 onwards/manually copied/_Projects/residence System/tabletUI/MAUI version/maui_respad/respad2023/Resources/.DS_Store')
         (maui_respad)
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,930 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 71,506 Reputation points
    2024-01-25T18:06:46.03+00:00

    .DS_Store is magic folder on Mac filesystems holding file attributes. You must of added a file reference to it in your project. Look though your build files and remove.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.