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

Resource files for mac should be copied to the app bundle #1500

Merged
merged 8 commits into from Feb 1, 2017
Merged

Resource files for mac should be copied to the app bundle #1500

merged 8 commits into from Feb 1, 2017

Conversation

timrisi
Copy link
Contributor

@timrisi timrisi commented Jan 13, 2017

For https://bugzilla.xamarin.com/show_bug.cgi?id=45696

Resource files are compiled into the bin folder but not copied into the actual app folder currently. This copies them to where they need to be.

Directory.CreateDirectory (target_dir);

CopyAssembly (a, target_s);
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a copy of the same method in tools/common/Assembly.cs. The code should be moved into tools/common/Assembly.cs which is where the shared mtouch/mmp code aside.

@monojenkins
Copy link
Collaborator

Build failure

2 similar comments
@monojenkins
Copy link
Collaborator

Build failure

@monojenkins
Copy link
Collaborator

Build failure

@timrisi
Copy link
Contributor Author

timrisi commented Jan 14, 2017

Build

@monojenkins
Copy link
Collaborator

Build failure

@@ -1700,6 +1700,8 @@ static void CopyI18nAssemblies (I18nAssemblies i18n)

// The linker later gets angry if you copy in a read only assembly
CopyFileAndRemoveReadOnly (asm, Path.Combine (mmp_dir, filename));
foreach (var assembly in BuildTarget.Assemblies)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're iterating over all the assemblies inside a foreach of all the assemblies. Shouldn't this new foreach be placed outside the containing foreach?

@rolfbjarne
Copy link
Member

monotouch-test has tests for this, but iirc they were not ported to XM. It would be nice to get those tests working on XM as well.

@monojenkins
Copy link
Collaborator

Build failure

@chamons
Copy link
Contributor

chamons commented Jan 23, 2017

@timrisi Can you merge in master and see what we need to get this in?

@monojenkins
Copy link
Collaborator

Build failure

@monojenkins
Copy link
Collaborator

Build failure

@monojenkins
Copy link
Collaborator

Build failure

@timrisi
Copy link
Contributor Author

timrisi commented Jan 27, 2017

Failures unrelated (media player made 64-bit, handled in a separate PR)

@timrisi timrisi merged commit 48682b2 into xamarin:master Feb 1, 2017
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.

None yet

6 participants