Skip to content

[msbuild] Ignore .DS_Store files when cloning asset catalogs - #1791

Merged
jstedfast merged 1 commit into
d15-1from
d15-1-msbuild-ignore-ds-store
Feb 28, 2017
Merged

[msbuild] Ignore .DS_Store files when cloning asset catalogs#1791
jstedfast merged 1 commit into
d15-1from
d15-1-msbuild-ignore-ds-store

Conversation

@jstedfast

Copy link
Copy Markdown
Member

This is the d15-1 port of PR #1776

Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=52851

The problem here is that the .DS_Store file was included in
the .csproj file but did not exist on disk, so when we went
to clone that file into the obj/ dir before running actool
on it, File.Copy() would fail because the file did not
actually exist.

Since these files are worthless anyway, we can safely ignore
them.

Also added logic to verify that files exist before copying
them in order to report a better error than an exception
stack trace.
@spouliot spouliot added this to the d15-1 milestone Feb 28, 2017
@monojenkins

Copy link
Copy Markdown
Contributor

Build success

@jstedfast
jstedfast merged commit 54ba136 into d15-1 Feb 28, 2017
@jstedfast
jstedfast deleted the d15-1-msbuild-ignore-ds-store branch February 28, 2017 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants