Bug 6857 - Allow adding resource bundle as if it were a file
Summary: Allow adding resource bundle as if it were a file
Status: RESOLVED NOT_ON_ROADMAP
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS add-in ()
Version: unspecified
Hardware: Macintosh Mac OS
: Low enhancement
Target Milestone: ---
Assignee: Jeffrey Stedfast
URL:
Depends on:
Blocks:
 
Reported: 2012-09-03 07:56 UTC by cpdigger
Modified: 2013-03-15 18:08 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED NOT_ON_ROADMAP

Description cpdigger 2012-09-03 07:56:50 UTC
I want to add a resource.bundle to my monotouch project. But Monodevelop don't support to add is a single file because it's a package folder. Neither the patching of the .csproj direct work well. Then during the build I got the follwing error from Copying! 

The file "Resource.bundle" still exists their but it would detected as a folder not as a single file.

Erzeuge Projektmappe: MonoTouchCropTest (Debug|iPhoneSimulator)

....

Copying content files
Copying '/Users/cp/Projects/cpCropUtility/MonoTouchCropTest/MonoTouchCropTest/Resource.bundle' to '/Users/cp/Projects/cpCropUtility/MonoTouchCropTest/MonoTouchCropTest/bin/iPhoneSimulator/Debug/MonoTouchCropTest.app/Resource.bundle'
File '/Users/cp/Projects/cpCropUtility/MonoTouchCropTest/MonoTouchCropTest/Resource.bundle' is missing.
Erzeugung abgeschlossen -- 1 Fehler, 0 Warnungen

--------------------- Fertig ---------------------

Unterstützungsdatei '/Users/cp/Projects/cpCropUtility/MonoTouchCropTest/MonoTouchCropTest/Resource.bundle' nicht gefunden.
Build: 1 Fehler, 0 Warnungen
Comment 1 Jeffrey Stedfast 2012-09-10 16:21:33 UTC
.bundles are actually directories, so you need to "Add Existing Directory" instead of "Add File".

As a feature enhancement, maybe we can special-case .bundle directories to behave like files for people who don't know that .bundles are actually directories.
Comment 2 Jeffrey Stedfast 2013-03-15 18:08:13 UTC
Special casing directories would not be pretty :-\

I don't think it's worth the effort it would require.