[Mono-osx] Mac OSX Packaging fails to include content resources

aggieNick02 nick.neumann at ni.com
Fri Oct 19 19:47:34 UTC 2012


The new OSX packaging support in MonoDevelop is cool. But I'm running into a
problem.

When I don't include the mono runtime, the content resources from dependent
projects are included in my app bundle. But when I do include the mono
runtime, they are not.

To reproduce this, I just made a simple library project with a single
content item: resource.txt. Then I have two application projects that both
depend on this library project that has resource.txt. The only difference
between the two projects is that one bundles in the mono runtime.

When I build without bundling the mono runtime, I see this:

Copying content files
<snip>
Copying
'/Users/nick/Projects/PackagingIssue/ProjectWithResource/resource.txt' to
'/Users/nick/Projects/PackagingIssue/NoMonoBundling/bin/Debug/NoMonoBundling.app/Contents/MonoBundle/resource.txt'

And indeed resource.txt is in my app bundle in the MonoBundle folder.

But when I choose to include the mono runtime, it all builds with:

Merging Mono Runtime into app bundle
/Applications/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.MonoMac/mmp
-nolink "-minos=10.6" -o
"/Users/nick/Projects/PackagingIssue/YesMonoBundling/bin/Debug" -n
"YesMonoBundling" -a 

and then all the dlls involved are listed, but Content resources like
resource.txt never get copied in. Any ideas?



--
View this message in context: http://mono.1490590.n4.nabble.com/Mac-OSX-Packaging-fails-to-include-content-resources-tp4657019.html
Sent from the Mono - OSX mailing list archive at Nabble.com.


More information about the Mono-osx mailing list