Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ignore macos attribute files #302

Merged
merged 2 commits into from
Nov 28, 2024

Conversation

amurgshere
Copy link
Contributor

@amurgshere amurgshere commented Nov 23, 2024

When saving files under Mac OS Sequoia to an external drive not formatted with APFS, a dot underscore attribute file is created for modified files, MSBUILD picks these up and fails the build with error:

CSC : error CS2015: '/Volumes/MACBOOK/EXEC/Ryujinx/GitHub/Ryujinx/src/Ryujinx/._Updater.cs' is a binary file instead of a text file [/Volumes/MACBOOK/EXEC/Ryujinx/GitHub/Ryujinx/src/Ryujinx/Ryujinx.csproj]

Adding the following line to the csproj files inside the project group will stop these files from attempted to being built:

$(DefaultItemExcludes);._*

Also suggest that we exclude these files from GIT as well by adding this line to the .gitignore file:

._*

This is a PR to fix this issue so that the MacOS attribute files are ignored both by the build and by git to make development easier when working with external drives.

This fixes issue #301

@github-actions github-actions bot added audio Affects Audio playback during emulation cpu An issue with ARMeilleure, the JIT, or Hypervisor gpu Affects GPU emulation graphics-backend:opengl Affects the OpenGL Graphics backend graphics-backend:vulkan Affects the Vulkan Graphics backend gui Affects the Avalonia UI or translations. horizon Affects the Horizon OS HLE components. labels Nov 23, 2024
@GreemDev GreemDev merged commit baf179e into Ryubing:master Nov 28, 2024
10 checks passed
@GreemDev GreemDev added infra Updates to dependencies and removed audio Affects Audio playback during emulation cpu An issue with ARMeilleure, the JIT, or Hypervisor gpu Affects GPU emulation graphics-backend:opengl Affects the OpenGL Graphics backend graphics-backend:vulkan Affects the Vulkan Graphics backend gui Affects the Avalonia UI or translations. horizon Affects the Horizon OS HLE components. labels Nov 28, 2024
@GreemDev GreemDev mentioned this pull request Dec 10, 2024
GreemDev pushed a commit that referenced this pull request Dec 19, 2024
marco-carvalho pushed a commit to marco-carvalho/Ryujinx that referenced this pull request Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infra Updates to dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants